C# Class Monobjc.ApplicationServices.CGAffineTransform

Mostra file Open project: Monobjc/monobjc Class Usage Examples

Public Methods

Method Description
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.

Method Details

CGAffineTransformIdentity() public static method

The identity transform.

Original signature is : const CGAffineTransform CGAffineTransformIdentity;

public static CGAffineTransformIdentity ( ) : CGAffineTransform
return CGAffineTransform

CGPointApplyAffineTransform() public static method

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.
return CGPoint

CGRectApplyAffineTransform() public static method

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.
return CGRect

CGSizeApplyAffineTransform() public static method

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.
return CGSize

Concat() public static method

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.
return CGAffineTransform

EqualToTransform() public static method

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.
return bool

Invert() public static method

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.
return CGAffineTransform

IsIdentity() public static method

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.
return bool

Make() public static method

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.
return CGAffineTransform

MakeRotation() public static method

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.
return CGAffineTransform

MakeScale() public static method

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.
return CGAffineTransform

MakeTranslation() public static method

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.
return CGAffineTransform

Rotate() public static method

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.
return CGAffineTransform

Scale() public static method

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.
return CGAffineTransform

Translate() public static method

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.
return CGAffineTransform