Class GlyphPositioningTable.PairValues
- java.lang.Object
-
- org.apache.fop.complexscripts.fonts.GlyphPositioningTable.PairValues
-
- Enclosing class:
- GlyphPositioningTable
public static class GlyphPositioningTable.PairValues extends java.lang.Object
ThePairValues
class implements a pair value record, comprising a glyph id (or zero) and two optional positioning values.
-
-
Field Summary
Fields Modifier and Type Field Description private int
glyph
private GlyphPositioningTable.Value
value1
private GlyphPositioningTable.Value
value2
-
Constructor Summary
Constructors Constructor Description PairValues(int glyph, GlyphPositioningTable.Value value1, GlyphPositioningTable.Value value2)
Instantiate a PairValues.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGlyph()
GlyphPositioningTable.Value
getValue1()
GlyphPositioningTable.Value
getValue2()
java.lang.String
toString()
-
-
-
Field Detail
-
glyph
private final int glyph
-
value1
private final GlyphPositioningTable.Value value1
-
value2
private final GlyphPositioningTable.Value value2
-
-
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
-
getValue1
public GlyphPositioningTable.Value getValue1()
- Returns:
- the first value
-
getValue2
public GlyphPositioningTable.Value getValue2()
- Returns:
- the second value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-