Package com.itextpdf.io.font.otf
Class GposAnchor
java.lang.Object
com.itextpdf.io.font.otf.GposAnchor
-
Constructor Summary
ConstructorDescriptionGposAnchor
(GposAnchor other) Creates a Gpos Anchor object based on a given Gpos Anchor object. -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the X coordinate of the Gpos Anchor.int
Retrieves the Y coordinate of the Gpos Anchor.void
setXCoordinate
(int xCoordinate) Sets the x coordinate of the Gpos Anchor.void
setYCoordinate
(int yCoordinate) Sets the Y coordinate of the Gpos Anchor.
-
Constructor Details
-
GposAnchor
public GposAnchor() -
GposAnchor
Creates a Gpos Anchor object based on a given Gpos Anchor object.- Parameters:
-
other
- other Gpos Anchor object
-
-
Method Details
-
getXCoordinate
public int getXCoordinate()Retrieves the X coordinate of the Gpos Anchor.- Returns:
- X coordinate
-
setXCoordinate
public void setXCoordinate(int xCoordinate) Sets the x coordinate of the Gpos Anchor.- Parameters:
-
xCoordinate
- X coordinate
-
getYCoordinate
public int getYCoordinate()Retrieves the Y coordinate of the Gpos Anchor.- Returns:
- Y coordinate
-
setYCoordinate
public void setYCoordinate(int yCoordinate) Sets the Y coordinate of the Gpos Anchor.- Parameters:
-
yCoordinate
- Y coordinate
-