Instance Method

initWithTransform:

Initializes the receiver’s matrix using another transform object.

Declaration

- (instancetype)initWithTransform:(NSAffineTransform *)transform;

Parameters

aTransform

The transform object whose matrix values should be copied to this object.

Return Value

A new transform object initialized with the matrix values of aTransform.

See Also

Creating an Affine Transform

+ transform

Creates a new affine transform initialized to the identity matrix.

- init

Initializes an affine transform matrix to the identity matrix.