Package com.itextpdf.awt.geom
Class Point
java.lang.Object
com.itextpdf.awt.geom.Point2D
com.itextpdf.awt.geom.Point
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.Point2D
Point2D.Double, Point2D.Float
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
getX()
double
getY()
void
move
(double x, double y) void
move
(int x, int y) void
setLocation
(double x, double y) void
setLocation
(int x, int y) void
setLocation
(Point p) toString()
void
translate
(double dx, double dy) void
translate
(int dx, int dy) Methods inherited from class com.itextpdf.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
x
public double x -
y
public double y
-
-
Constructor Details
-
Point
public Point() -
Point
public Point(int x, int y) -
Point
public Point(double x, double y) -
Point
-
-
Method Details
-
equals
-
toString
-
getX
public double getX() -
getY
public double getY() -
getLocation
-
setLocation
-
setLocation
public void setLocation(int x, int y) -
setLocation
public void setLocation(double x, double y) - Specified by:
setLocation
in classPoint2D
-
move
public void move(int x, int y) -
move
public void move(double x, double y) -
translate
public void translate(int dx, int dy) -
translate
public void translate(double dx, double dy)
-