Contents

tighteningFactorForTruncation

The threshold for using tightening as an alternative to truncation.

Declaration

var tighteningFactorForTruncation: Float { get }

Discussion

When the line break mode specifies truncation, the text system attempts to tighten character spacing as an alternative to truncation. Provided that the ratio of the text width to the line fragment width doesn’t exceed 1.0 + the system sets the tightening factor to this property. Otherwise, the system truncates the text at a location determined by the line break mode.

See Also

Getting line-break information