Initializer

init(transform:)

Initializes the receiver’s matrix using another transform object.

Declaration

macOS
convenience init(transform: AffineTransform)
Mac Catalyst
convenience init(transform: NSAffineTransform)

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

init()

Initializes an affine transform matrix to the identity matrix.