Class DropCapSpecifier

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class DropCapSpecifier
    extends java.lang.Object
    implements java.lang.Cloneable
    This data structure is used by a paragraph to determine how it should drop its first letter. I think its the visual effect that will show a giant first letter to a paragraph. I've seen this used in the first paragraph of a book
    • Constructor Detail

      • DropCapSpecifier

        public DropCapSpecifier()
      • DropCapSpecifier

        public DropCapSpecifier​(byte[] buf,
                                int offset)
      • DropCapSpecifier

        public DropCapSpecifier​(short fdct)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getCountOfLinesToDrop

        public byte getCountOfLinesToDrop()
      • getDropCapType

        public byte getDropCapType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isEmpty

        public boolean isEmpty()
      • setCountOfLinesToDrop

        public void setCountOfLinesToDrop​(byte value)
      • setDropCapType

        public void setDropCapType​(byte value)
      • toShort

        public short toShort()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object