Instance Method

applyTransform:

Transforms all points in the path using the specified affine transform matrix.

Declaration

- (void)applyTransform:(CGAffineTransform)transform;

Parameters

transform

The transform matrix to apply to the path.

Discussion

This method applies the specified transform to the path’s points immediately. The modifications made to the path object are permanent. If you do not want to permanently modify a path object, you should consider applying the transform to a copy.