Instance Property

tighteningFactorForTruncation

The threshold for using tightening as an alternative to truncation.

Declaration

@property(readonly) float tighteningFactorForTruncation;

Discussion

When the line break mode specifies truncation, the text system attempts to tighten inter character spacing as an alternative to truncation, provided that the ratio of the text width to the line fragment width does not exceed 1.0 + the tightening factor is set to this property. Otherwise the text is truncated at a location determined by the line break mode.

See Also

Getting Line Breaking Information

lineBreakMode

The mode that should be used to break lines in the receiver.

hyphenationFactor

The paragraph’s threshold for hyphenation.

allowsDefaultTighteningForTruncation

A Boolean value indicating whether the system may tighten inter-character spacing before truncating text.