Class NSStringDrawingOptions


  • public final class NSStringDrawingOptions
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long TruncatesLastVisibleLine
      Truncates and adds the ellipsis character to the last visible line if the text doesn't fit into the bounds specified.
      static long UsesDeviceMetrics
      Uses image glyph bounds instead of typographic bounds
      static long UsesFontLeading
      Uses the font leading for calculating line heights
      static long UsesLineFragmentOrigin
      The specified origin is the line fragment origin, not the base line origin
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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