Contents

hyphenationFactor

The threshold controlling when hyphenation is done.

Declaration

var hyphenationFactor: Float { get set }

Discussion

Whenever (width of the real contents of the line) / (the line fragment width) is below factor, hyphenation is attempted when laying out the line. Hyphenation slows down text layout and increases memory usage, so it should be used sparingly.

See Also

Properties