C# Class BBGamelib.CGAffineTransform

Datei anzeigen Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Public Properties

Property Type Description
Identity CGAffineTransform
a float
tx float

Public Methods

Method Description
CGPointApplyAffineTransform ( Vector2 point, CGAffineTransform xform ) : Vector2
CGRectApplyAffineTransform ( Rect rect, CGAffineTransform transform ) : Rect
CGSizeApplyAffineTransform ( Vector2 size, CGAffineTransform xform ) : Vector2
Concat ( CGAffineTransform xform, CGAffineTransform append ) : CGAffineTransform
EqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 ) : bool
Invert ( CGAffineTransform xform ) : CGAffineTransform
IsIdentity ( CGAffineTransform t ) : bool
Make ( float a, float b, float c, float d, float tx, float ty ) : CGAffineTransform
MakeRotation ( float angle ) : CGAffineTransform
MakeScale ( float sx, float sy ) : CGAffineTransform
MakeTranslation ( float tx, float ty ) : CGAffineTransform
Rotate ( CGAffineTransform t, float angle ) : CGAffineTransform
Scale ( CGAffineTransform t, float sx, float sy ) : CGAffineTransform
Translate ( CGAffineTransform t, float tx, float ty ) : CGAffineTransform

Method Details

CGPointApplyAffineTransform() public static method

public static CGPointApplyAffineTransform ( Vector2 point, CGAffineTransform xform ) : Vector2
point UnityEngine.Vector2
xform CGAffineTransform
return UnityEngine.Vector2

CGRectApplyAffineTransform() public static method

public static CGRectApplyAffineTransform ( Rect rect, CGAffineTransform transform ) : Rect
rect UnityEngine.Rect
transform CGAffineTransform
return UnityEngine.Rect

CGSizeApplyAffineTransform() public static method

public static CGSizeApplyAffineTransform ( Vector2 size, CGAffineTransform xform ) : Vector2
size UnityEngine.Vector2
xform CGAffineTransform
return UnityEngine.Vector2

Concat() public static method

public static Concat ( CGAffineTransform xform, CGAffineTransform append ) : CGAffineTransform
xform CGAffineTransform
append CGAffineTransform
return CGAffineTransform

EqualToTransform() public static method

public static EqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 ) : bool
t1 CGAffineTransform
t2 CGAffineTransform
return bool

Invert() public static method

public static Invert ( CGAffineTransform xform ) : CGAffineTransform
xform CGAffineTransform
return CGAffineTransform

IsIdentity() public static method

public static IsIdentity ( CGAffineTransform t ) : bool
t CGAffineTransform
return bool

Make() public static method

public static Make ( float a, float b, float c, float d, float tx, float ty ) : CGAffineTransform
a float
b float
c float
d float
tx float
ty float
return CGAffineTransform

MakeRotation() public static method

public static MakeRotation ( float angle ) : CGAffineTransform
angle float
return CGAffineTransform

MakeScale() public static method

public static MakeScale ( float sx, float sy ) : CGAffineTransform
sx float
sy float
return CGAffineTransform

MakeTranslation() public static method

public static MakeTranslation ( float tx, float ty ) : CGAffineTransform
tx float
ty float
return CGAffineTransform

Rotate() public static method

public static Rotate ( CGAffineTransform t, float angle ) : CGAffineTransform
t CGAffineTransform
angle float
return CGAffineTransform

Scale() public static method

public static Scale ( CGAffineTransform t, float sx, float sy ) : CGAffineTransform
t CGAffineTransform
sx float
sy float
return CGAffineTransform

Translate() public static method

public static Translate ( CGAffineTransform t, float tx, float ty ) : CGAffineTransform
t CGAffineTransform
tx float
ty float
return CGAffineTransform

Property Details

Identity public_oe static_oe property

public static CGAffineTransform,BBGamelib Identity
return CGAffineTransform

a public_oe property

public float a
return float

tx public_oe property

public float tx
return float