Class GlyphPositioningTable.PairValues
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphPositioningTable.PairValues
- Enclosing class:
GlyphPositioningTable
The
PairValues class implements a pair value record, comprising a glyph id (or zero)
and two optional positioning values.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final GlyphPositioningTable.Valueprivate final GlyphPositioningTable.Value -
Constructor Summary
ConstructorsConstructorDescriptionPairValues(int glyph, GlyphPositioningTable.Value value1, GlyphPositioningTable.Value value2) Instantiate a PairValues. -
Method Summary
-
Field Details
-
glyph
private final int glyph -
value1
-
value2
-
-
Constructor Details
-
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 Details
-
getGlyph
public int getGlyph()- Returns:
- the glyph id
-
getValue1
- Returns:
- the first value
-
getValue2
- Returns:
- the second value
-
toString
-