CGAffineTransform Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
2D Affine transformation used to convert between coordinate spaces.
public struct CGAffineTransform
type CGAffineTransform = struct
- Inheritance
-
CGAffineTransform
An affine transformation uses a matrix to transform poitns between coordinate spaces.
These transformation can be used to rotate, scale, shear and translate points and rectangles from one coordinate system into another.
CGAffine |
Initializes an affine transformation from the matrix values. |
x0 |
X translation component of the affine transform. |
xx |
XX component of the affine. |
xy |
XY component of the affine. |
y0 |
Y translation component of the affine transformation. |
yx |
YX component of the affine. |
yy |
YY component of the affine. |
Is |
Determines if the affine corresponds to the identity affine. |
CGAffine |
Inverts the affine transformation matrix. |
CGRect |
|
Equals(Object) |
Compares the objects for equality. |
Get |
The hashcode for this object. |
Invert() |
Inverts this affine transformation. |
Make |
Returns the identity affine transformation. |
Make |
Returns an affine transformation for the requested rotation angle, in radians. |
Make |
Returns the affine transformation for the requested scaling in the X and Y coordinates. |
Make |
Return the affine transformation for translating to the requested location. |
Multiply(CGAffine |
Multiplies the two affine transformations and returns the result. |
Multiply(CGAffine |
Multiplies the current affine transformation by the specified affine transformation. |
Rotate(CGAffine |
Applies a rotation to the affine by the specified angle, in radians. |
Rotate(nfloat, Matrix |
|
Rotate(nfloat) |
Applies a rotation to the affine by the specified angle, in radians. |
Scale(CGAffine |
Scales the affine by the specified magnitudes and returns the result. |
Scale(nfloat, nfloat, Matrix |
|
Scale(nfloat, nfloat) |
Modify the affine to scale by the specified magnitudes. |
To |
Renders the affine in textual form. |
Transform |
Transforms the coordinates of the provided point by the affine. |
Transform |
Applies the affine transform to the supplied rectangle and returns the transformed rectangle. |
Transform |
|
Translate(CGAffine |
Translates the affine transform by modifying every X value by the supplied X parameter and every Y value by the supplied Y parameter. |
Translate(nfloat, nfloat, Matrix |
|
Translate(nfloat, nfloat) |
Translates the affine transform by modifying every X value by the supplied X parameter and every Y value by the supplied Y parameter. |
Equality(CGAffine |
Operator overload, compares two affines. |
Inequality(CGAffine |
Compares affines for inequality. |
Multiply(CGAffine |
Multiplies the two affine transformations and returns a new affine with the result. |