truncatesLastVisibleLine
Truncates and adds the ellipsis character to the last visible line if the text doesn’t fit into the specified bounds.
Declaration
static var truncatesLastVisibleLine: NSStringDrawingOptions { get }Discussion
This option is ignored if NSStringDrawingUsesLineFragmentOrigin is not also set. In addition, the line break mode must be either NSLineBreakByWordWrapping or NSLineBreakByCharWrapping for this option to take effect. The line break mode can be specified in a paragraph style passed in the attributes dictionary argument of the drawing methods.