Class LineProperties


  • public final class LineProperties
    extends Object
    Provides details about a line.
    • Field Detail

      • DEFAULT

        public static final LineProperties DEFAULT
        Provides default line properties. The default is to allow hyphenation and to reserve no width.
    • Method Detail

      • suppressHyphenation

        public boolean suppressHyphenation()
        When true, hyphenation should be suppressed for the line.
        Returns:
        true if hyphenation should be suppressed, false otherwise
      • getReservedWidth

        public int getReservedWidth()
        Gets the number of characters on a line that cannot be used for text flow contents.
        Returns:
        the number of characters on a line that cannot be used for text flow contents