Class GlyphPositioningTable.PairValues

  • Enclosing class:
    GlyphPositioningTable

    public static class GlyphPositioningTable.PairValues
    extends java.lang.Object
    The PairValues class implements a pair value record, comprising a glyph id (or zero) and two optional positioning values.
    • Constructor Detail

      • PairValues

        public PairValues​(int glyph,
                          GlyphPositioningTable.Value value1,
                          GlyphPositioningTable.Value value2)
        Instantiate a PairValues.
        Parameters:
        glyph - the glyph id (or zero)
        value1 - the value of the first glyph in pair (or null)
        value2 - the value of the second glyph in pair (or null)
    • Method Detail

      • getGlyph

        public int getGlyph()
        Returns:
        the glyph id
      • toString

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