Package apple.uikit.enums
Class NSLineBreakStrategy
- java.lang.Object
-
- apple.uikit.enums.NSLineBreakStrategy
-
public final class NSLineBreakStrategy extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longHangulWordPriorityWhen specified, it prohibits breaking between Hangul characters.static longNoneDon't use any line break strategiesstatic longPushOutUse the push out line break strategy.static longStandardUse the same configuration of line break strategies that the system uses for standard UI labels.
-
-
-
Field Detail
-
None
public static final long None
Don't use any line break strategies- See Also:
- Constant Field Values
-
PushOut
public static final long PushOut
Use the push out line break strategy. This strategy allows the text system to "push out" individual lines by some number of words to avoid an orphan word on the last line of the paragraph. The current implementation usually pushes out the last line by a single word.- See Also:
- Constant Field Values
-
HangulWordPriority
public static final long HangulWordPriority
When specified, it prohibits breaking between Hangul characters. It is the preferable typesetting strategy for the modern Korean documents suitable for UI strings.- See Also:
- Constant Field Values
-
Standard
public static final long Standard
Use the same configuration of line break strategies that the system uses for standard UI labels. This set of line break strategies is optimized for displaying shorter strings that are common in UI labels and may not be suitable for large amounts of text.- See Also:
- Constant Field Values
-
-