An object representing a graphics coordinate transformation that bridges to
NSAffine when you need reference semantics or other Foundation-specific behavior.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
A transformation specifies how points in one coordinate system are transformed to points in another coordinate system. An affine transformation is a special type of transformation that preserves parallel lines in a path but does not necessarily preserve lengths or angles. Scaling, rotation, and translation are the most commonly used manipulations supported by affine transforms, but shearing is also possible.
Methods for applying affine transformations to the current graphics context and a method for applying an affine transformation to an
NSBezier object are described in NSAffineTransform Additions Reference in the Application Kit.