Instance Method

affineTransform

Returns an affine version of the layer’s transform.

Declaration

- (CGAffineTransform)affineTransform;

Return Value

The affine transform structure that corresponds to the value in the layer’s transform property.

See Also

Managing the Layer’s Transform

transform

The transform applied to the layer’s contents. Animatable.

sublayerTransform

Specifies the transform to apply to sublayers when rendering. Animatable.

- setAffineTransform:

Sets the layer’s transform to the specified affine transform.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software