|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.complexscripts.fonts.GlyphPositioningTable.Anchor
public static class GlyphPositioningTable.Anchor
The Anchor
class implements a anchor record, comprising an X,Y coordinate pair,
an optional anchor point index (or -1), and optional X or Y device tables (or null if absent).
Constructor Summary | |
---|---|
protected |
GlyphPositioningTable.Anchor(GlyphPositioningTable.Anchor a)
Instantiate an Anchor based on an existing anchor. |
|
GlyphPositioningTable.Anchor(int x,
int y)
Instantiate an Anchor (format 1). |
|
GlyphPositioningTable.Anchor(int x,
int y,
GlyphPositioningTable.DeviceTable xDevice,
GlyphPositioningTable.DeviceTable yDevice)
Instantiate an Anchor (format 3). |
|
GlyphPositioningTable.Anchor(int x,
int y,
int anchorPoint)
Instantiate an Anchor (format 2). |
Method Summary | |
---|---|
GlyphPositioningTable.Value |
getAlignmentAdjustment(GlyphPositioningTable.Anchor a)
Obtain adjustment value required to align the specified anchor with this anchor. |
int |
getAnchorPoint()
|
int |
getX()
|
GlyphPositioningTable.DeviceTable |
getXDevice()
|
int |
getY()
|
GlyphPositioningTable.DeviceTable |
getYDevice()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlyphPositioningTable.Anchor(int x, int y)
x
- the x coordinatey
- the y coordinatepublic GlyphPositioningTable.Anchor(int x, int y, int anchorPoint)
x
- the x coordinatey
- the y coordinateanchorPoint
- anchor index (or -1)public GlyphPositioningTable.Anchor(int x, int y, GlyphPositioningTable.DeviceTable xDevice, GlyphPositioningTable.DeviceTable yDevice)
x
- the x coordinatey
- the y coordinatexDevice
- the x device table (or null if not present)yDevice
- the y device table (or null if not present)protected GlyphPositioningTable.Anchor(GlyphPositioningTable.Anchor a)
a
- the existing anchorMethod Detail |
---|
public int getX()
public int getY()
public int getAnchorPoint()
public GlyphPositioningTable.DeviceTable getXDevice()
public GlyphPositioningTable.DeviceTable getYDevice()
public GlyphPositioningTable.Value getAlignmentAdjustment(GlyphPositioningTable.Anchor a)
a
- the anchor to align
public java.lang.String toString()
toString
in class java.lang.Object
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |