C# Класс Monobjc.ApplicationServices.CGAffineTransform

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CGAffineTransformIdentity ( ) : CGAffineTransform

The identity transform.

Original signature is : const CGAffineTransform CGAffineTransformIdentity;

CGPointApplyAffineTransform ( CGPoint point, CGAffineTransform t ) : CGPoint

Returns the point resulting from an affine transformation of an existing point.

Original signature is : CGPoint CGPointApplyAffineTransform ( CGPoint point, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

CGRectApplyAffineTransform ( CGRect rect, CGAffineTransform t ) : CGRect

Applies an affine transform to a rectangle.

Original signature is : CGRect CGRectApplyAffineTransform ( CGRect rect, CGAffineTransform t );

Available in Mac OS X v10.4 and later.

CGSizeApplyAffineTransform ( CGSize size, CGAffineTransform t ) : CGSize

Returns the height and width resulting from a transformation of an existing height and width.

Original signature is : CGSize CGSizeApplyAffineTransform ( CGSize size, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

Concat ( CGAffineTransform t1, CGAffineTransform t2 ) : CGAffineTransform

Returns an affine transformation matrix constructed by combining two existing affine transforms.

Original signature is : CGAffineTransform CGAffineTransformConcat ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X version 10.0 and later.

EqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 ) : bool

Checks whether two affine transforms are equal.

Original signature is : bool CGAffineTransformEqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X v10.4 and later.

Invert ( CGAffineTransform t ) : CGAffineTransform

Returns an affine transformation matrix constructed by inverting an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformInvert ( CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

IsIdentity ( CGAffineTransform t ) : bool

Checks whether an affine transform is the identity transform.

Original signature is : bool CGAffineTransformIsIdentity ( CGAffineTransform t );

Available in Mac OS X v10.4 and later.

Make ( CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty ) : CGAffineTransform

Returns an affine transformation matrix constructed from values you provide.

Original signature is : CGAffineTransform CGAffineTransformMake ( CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

MakeRotation ( CGFloat angle ) : CGAffineTransform

Returns an affine transformation matrix constructed from a rotation value you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeRotation ( CGFloat angle );

Available in Mac OS X version 10.0 and later.

MakeScale ( CGFloat sx, CGFloat sy ) : CGAffineTransform

Returns an affine transformation matrix constructed from scaling values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeScale ( CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.

MakeTranslation ( CGFloat tx, CGFloat ty ) : CGAffineTransform

Returns an affine transformation matrix constructed from translation values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeTranslation ( CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

Rotate ( CGAffineTransform t, CGFloat angle ) : CGAffineTransform

Returns an affine transformation matrix constructed by rotating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformRotate ( CGAffineTransform t, CGFloat angle );

Available in Mac OS X version 10.0 and later.

Scale ( CGAffineTransform t, CGFloat sx, CGFloat sy ) : CGAffineTransform

Returns an affine transformation matrix constructed by scaling an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformScale ( CGAffineTransform t, CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.

Translate ( CGAffineTransform t, CGFloat tx, CGFloat ty ) : CGAffineTransform

Returns an affine transformation matrix constructed by translating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformTranslate ( CGAffineTransform t, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

Описание методов

CGAffineTransformIdentity() публичный статический Метод

The identity transform.

Original signature is : const CGAffineTransform CGAffineTransformIdentity;

public static CGAffineTransformIdentity ( ) : CGAffineTransform
Результат CGAffineTransform

CGPointApplyAffineTransform() публичный статический Метод

Returns the point resulting from an affine transformation of an existing point.

Original signature is : CGPoint CGPointApplyAffineTransform ( CGPoint point, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

public static CGPointApplyAffineTransform ( CGPoint point, CGAffineTransform t ) : CGPoint
point CGPoint A point that specifies the x- and y-coordinates to transform.
t CGAffineTransform The affine transform to apply.
Результат CGPoint

CGRectApplyAffineTransform() публичный статический Метод

Applies an affine transform to a rectangle.

Original signature is : CGRect CGRectApplyAffineTransform ( CGRect rect, CGAffineTransform t );

Available in Mac OS X v10.4 and later.

public static CGRectApplyAffineTransform ( CGRect rect, CGAffineTransform t ) : CGRect
rect CGRect The rectangle whose corner points you want to transform.
t CGAffineTransform The affine transform to apply to the rect parameter.
Результат CGRect

CGSizeApplyAffineTransform() публичный статический Метод

Returns the height and width resulting from a transformation of an existing height and width.

Original signature is : CGSize CGSizeApplyAffineTransform ( CGSize size, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

public static CGSizeApplyAffineTransform ( CGSize size, CGAffineTransform t ) : CGSize
size CGSize A size that specifies the height and width to transform.
t CGAffineTransform The affine transform to apply.
Результат CGSize

Concat() публичный статический Метод

Returns an affine transformation matrix constructed by combining two existing affine transforms.

Original signature is : CGAffineTransform CGAffineTransformConcat ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X version 10.0 and later.

public static Concat ( CGAffineTransform t1, CGAffineTransform t2 ) : CGAffineTransform
t1 CGAffineTransform The first affine transform.
t2 CGAffineTransform The second affine transform. This affine transform is concatenated to the first affine transform.
Результат CGAffineTransform

EqualToTransform() публичный статический Метод

Checks whether two affine transforms are equal.

Original signature is : bool CGAffineTransformEqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X v10.4 and later.

public static EqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 ) : bool
t1 CGAffineTransform An affine transform.
t2 CGAffineTransform An affine transform.
Результат bool

Invert() публичный статический Метод

Returns an affine transformation matrix constructed by inverting an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformInvert ( CGAffineTransform t );

Available in Mac OS X version 10.0 and later.

public static Invert ( CGAffineTransform t ) : CGAffineTransform
t CGAffineTransform An existing affine transform.
Результат CGAffineTransform

IsIdentity() публичный статический Метод

Checks whether an affine transform is the identity transform.

Original signature is : bool CGAffineTransformIsIdentity ( CGAffineTransform t );

Available in Mac OS X v10.4 and later.

public static IsIdentity ( CGAffineTransform t ) : bool
t CGAffineTransform The affine transform to check.
Результат bool

Make() публичный статический Метод

Returns an affine transformation matrix constructed from values you provide.

Original signature is : CGAffineTransform CGAffineTransformMake ( CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

public static Make ( CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty ) : CGAffineTransform
a CGFloat The value at position [1,1] in the matrix.
b CGFloat The value at position [1,2] in the matrix.
c CGFloat The value at position [2,1] in the matrix.
d CGFloat The value at position [2,2] in the matrix.
tx CGFloat The value at position [3,1] in the matrix.
ty CGFloat The value at position [3,2] in the matrix.
Результат CGAffineTransform

MakeRotation() публичный статический Метод

Returns an affine transformation matrix constructed from a rotation value you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeRotation ( CGFloat angle );

Available in Mac OS X version 10.0 and later.

public static MakeRotation ( CGFloat angle ) : CGAffineTransform
angle CGFloat The angle, in radians, by which this matrix rotates the coordinate system axes. A positive value specifies clockwise rotation, a negative value specifies counterclockwise.
Результат CGAffineTransform

MakeScale() публичный статический Метод

Returns an affine transformation matrix constructed from scaling values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeScale ( CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.

public static MakeScale ( CGFloat sx, CGFloat sy ) : CGAffineTransform
sx CGFloat The factor by which to scale the x-axis of the coordinate system.
sy CGFloat The factor by which to scale the y-axis of the coordinate system.
Результат CGAffineTransform

MakeTranslation() публичный статический Метод

Returns an affine transformation matrix constructed from translation values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeTranslation ( CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

public static MakeTranslation ( CGFloat tx, CGFloat ty ) : CGAffineTransform
tx CGFloat The value by which to move the x-axis of the coordinate system.
ty CGFloat The value by which to move the y-axis of the coordinate system.
Результат CGAffineTransform

Rotate() публичный статический Метод

Returns an affine transformation matrix constructed by rotating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformRotate ( CGAffineTransform t, CGFloat angle );

Available in Mac OS X version 10.0 and later.

public static Rotate ( CGAffineTransform t, CGFloat angle ) : CGAffineTransform
t CGAffineTransform An existing affine transform.
angle CGFloat The angle, in radians, by which to rotate the affine transform.
Результат CGAffineTransform

Scale() публичный статический Метод

Returns an affine transformation matrix constructed by scaling an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformScale ( CGAffineTransform t, CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.

public static Scale ( CGAffineTransform t, CGFloat sx, CGFloat sy ) : CGAffineTransform
t CGAffineTransform An existing affine transform.
sx CGFloat The value by which to scale x values of the affine transform.
sy CGFloat The value by which to scale y values of the affine transform.
Результат CGAffineTransform

Translate() публичный статический Метод

Returns an affine transformation matrix constructed by translating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformTranslate ( CGAffineTransform t, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

public static Translate ( CGAffineTransform t, CGFloat tx, CGFloat ty ) : CGAffineTransform
t CGAffineTransform An existing affine transform.
tx CGFloat The value by which to move x values with the affine transform.
ty CGFloat The value by which to move y values with the affine transform.
Результат CGAffineTransform