Package apple.coretext.enums
Class CTLineBreakMode
- java.lang.Object
-
- apple.coretext.enums.CTLineBreakMode
-
public final class CTLineBreakMode extends java.lang.Object[@enum] CTLineBreakMode These constants specify what happens when a line is too long for its frame. [@constant] kCTLineBreakByWordWrapping Wrapping occurs at word boundaries, unless the word itself doesn't fit on a single line. [@constant] kCTLineBreakByCharWrapping Wrapping occurs before the first character that doesn't fit. [@constant] kCTLineBreakByClipping Lines are simply not drawn past the edge of the frame. [@constant] kCTLineBreakByTruncatingHead Each line is displayed so that the end fits in the frame and the missing text is indicated by some kind of ellipsis glyph. [@constant] kCTLineBreakByTruncatingTail Each line is displayed so that the beginning fits in the container and the missing text is indicated by some kind of ellipsis glyph. [@constant] kCTLineBreakByTruncatingMiddle Each line is displayed so that the beginning and end fit in the container and the missing text is indicated by some kind of ellipsis glyph in the middle.
-
-
Field Summary
Fields Modifier and Type Field Description static byteCharWrappingstatic byteClippingstatic byteTruncatingHeadstatic byteTruncatingMiddlestatic byteTruncatingTailstatic byteWordWrapping
-
-
-
Field Detail
-
WordWrapping
public static final byte WordWrapping
- See Also:
- Constant Field Values
-
CharWrapping
public static final byte CharWrapping
- See Also:
- Constant Field Values
-
Clipping
public static final byte Clipping
- See Also:
- Constant Field Values
-
TruncatingHead
public static final byte TruncatingHead
- See Also:
- Constant Field Values
-
TruncatingTail
public static final byte TruncatingTail
- See Also:
- Constant Field Values
-
TruncatingMiddle
public static final byte TruncatingMiddle
- See Also:
- Constant Field Values
-
-