Options for wrapping and truncating text.
- iOS 2.0–6.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
For methods that draw at a specified point (as opposed to those that draw in a rectangular region), these options specify the clipping behavior that is applied to the string.
Clip the text when the end of the drawing rectangle is reached. This option could result in a partially rendered character at the end of a string.
Truncate text (as needed) from the beginning of the line. For multiple lines of text, only text on the first line is truncated.
Truncate text (as needed) from the end of the line. For multiple lines of text, only text on the last line is truncated.
Truncate text (as needed) from the middle of the line. For multiple lines of text, text is truncated only at the midpoint of the line.