Class CFFFont.UInt16Item

  • Enclosing class:
    CFFFont

    protected static final class CFFFont.UInt16Item
    extends CFFFont.Item
    A SID or Card16 item.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      char value  
    • Constructor Summary

      Constructors 
      Constructor Description
      UInt16Item​(char value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void emit​(byte[] buffer)
      Emit the byte stream for this item.
      void increment​(int[] currentOffset)
      remember the current offset and increment by item's size in bytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        public char value
    • Constructor Detail

      • UInt16Item

        public UInt16Item​(char value)
    • Method Detail

      • increment

        public void increment​(int[] currentOffset)
        Description copied from class: CFFFont.Item
        remember the current offset and increment by item's size in bytes.
        Overrides:
        increment in class CFFFont.Item
      • emit

        public void emit​(byte[] buffer)
        Description copied from class: CFFFont.Item
        Emit the byte stream for this item.
        Overrides:
        emit in class CFFFont.Item