Applies the specified translation factors to the receiver’s transformation matrix.
SDKs
- macOS 10.0+
- Mac Catalyst 13.0+
Framework
- Foundation
Declaration
Parameters
deltaX
The number of units to move along the x axis.
deltaY
The number of units to move along the y axis.
Discussion
Subsequent transformations cause coordinates to be shifted by delta
units along the x axis and by delta
units along the y axis. Translation factors do not affect NSSize
values, which specify a differential between points.