Package apple.uikit.enums
Class NSStringDrawingOptions
- java.lang.Object
-
- apple.uikit.enums.NSStringDrawingOptions
-
public final class NSStringDrawingOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longTruncatesLastVisibleLineTruncates and adds the ellipsis character to the last visible line if the text doesn't fit into the bounds specified.static longUsesDeviceMetricsUses image glyph bounds instead of typographic boundsstatic longUsesFontLeadingUses the font leading for calculating line heightsstatic longUsesLineFragmentOriginThe specified origin is the line fragment origin, not the base line origin
-
-
-
Field Detail
-
UsesLineFragmentOrigin
public static final long UsesLineFragmentOrigin
The specified origin is the line fragment origin, not the base line origin- See Also:
- Constant Field Values
-
UsesFontLeading
public static final long UsesFontLeading
Uses the font leading for calculating line heights- See Also:
- Constant Field Values
-
UsesDeviceMetrics
public static final long UsesDeviceMetrics
Uses image glyph bounds instead of typographic bounds- See Also:
- Constant Field Values
-
TruncatesLastVisibleLine
public static final long TruncatesLastVisibleLine
Truncates and adds the ellipsis character to the last visible line if the text doesn't fit into the bounds specified. Ignored if NSStringDrawingUsesLineFragmentOrigin is not also set.- See Also:
- Constant Field Values
-
-