Package com.itextpdf.awt.geom
Class Point
- java.lang.Object
-
- com.itextpdf.awt.geom.Point2D
-
- com.itextpdf.awt.geom.Point
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Point extends Point2D implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.Point2D
Point2D.Double, Point2D.Float
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
double
x
double
y
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Point
getLocation()
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)
java.lang.String
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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
x
public double x
-
y
public double y
-
-
Constructor Detail
-
Point
public Point()
-
Point
public Point(int x, int y)
-
Point
public Point(double x, double y)
-
Point
public Point(Point p)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLocation
public Point getLocation()
-
setLocation
public void setLocation(Point p)
-
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)
-
-