Package org.robovm.apple.coregraphics
Class CGAffineTransform
- All Implemented Interfaces:
Iterable<CGAffineTransform>
public class CGAffineTransform extends Struct<CGAffineTransform>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCGAffineTransform.CGAffineTransformPtr -
Constructor Summary
Constructors Constructor Description CGAffineTransform()CGAffineTransform(double a, double b, double c, double d, double tx, double ty) -
Method Summary
Modifier and Type Method Description CGAffineTransformconcat(CGAffineTransform t2)static CGAffineTransformcreateRotation(double angle)static CGAffineTransformcreateScale(double sx, double sy)static CGAffineTransformcreateTranslation(double tx, double ty)booleanequals(Object obj)booleanequalsTo(CGAffineTransform t2)static CGAffineTransformfromString(String string)doublegetA()doublegetB()doublegetC()doublegetD()doublegetTx()doublegetTy()static CGAffineTransformIdentity()CGAffineTransforminvert()booleanisIdentity()CGAffineTransformrotate(double angle)CGAffineTransformscale(double sx, double sy)CGAffineTransformsetA(double a)CGAffineTransformsetB(double b)CGAffineTransformsetC(double c)CGAffineTransformsetD(double d)CGAffineTransformsetTx(double tx)CGAffineTransformsetTy(double ty)StringtoString()CGAffineTransformtranslate(double tx, double ty)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
CGAffineTransform
public CGAffineTransform() -
CGAffineTransform
public CGAffineTransform(double a, double b, double c, double d, double tx, double ty)
-
-
Method Details
-
getA
public double getA() -
setA
-
getB
public double getB() -
setB
-
getC
public double getC() -
setC
-
getD
public double getD() -
setD
-
getTx
public double getTx() -
setTx
-
getTy
public double getTy() -
setTy
-
fromString
-
equals
- Overrides:
equalsin classNativeObject
-
toString
-
Identity
-
createTranslation
-
createScale
-
createRotation
-
isIdentity
public boolean isIdentity() -
translate
-
scale
-
rotate
-
invert
-
concat
-
equalsTo
-