Interface Point
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
PointImpl
public interface Point extends java.io.SerializableInterface for points in a coordinate system.
Interface for points in a coordinate system, currently referenced in the
Polygoninterface resp.PolygonImplclass only, implemented inPointImpl.
Depending on the scope of the containing XML document, coordinates are either relative to the spread, page, CometGroup or element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetX()Gets the X coordinate of this point.doublegetY()Gets the Y coordinate of this point.voidsetX(double x)Sets the X coordinate of this point.voidsetY(double y)Sets the Y coordinate of this point.
-
-
-
Method Detail
-
getX
double getX()
Gets the X coordinate of this point.
Gets the X coordinate of this point.
- Returns:
- X coordinate of this point
-
setX
void setX(double x)
Sets the X coordinate of this point.
Sets the X coordinate of this point.
- Parameters:
x- the X coordinate of this point
-
getY
double getY()
Gets the Y coordinate of this point.
Gets the Y coordinate of this point.
- Returns:
- the Y coordinate of this point
-
setY
void setY(double y)
Sets the Y coordinate of this point.
Sets the Y coordinate of this point.
- Parameters:
y- the Y coordinate of this point
-
-