Class XRectangle2D
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.geom.XRectangle2D
-
public class XRectangle2D extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XRectangle2D(double x, double y, double width, double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(double xp, double yp)
boolean
contains(XPoint2D point)
double
getCenterX()
double
getCenterY()
double
getHeight()
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
double
getWidth()
double
getX()
double
getY()
XPoint2D
intersect(XLine2D line)
boolean
intersects(XRectangle2D other)
-
-
-
Method Detail
-
getWidth
public double getWidth()
-
getHeight
public double getHeight()
-
getX
public double getX()
-
getY
public double getY()
-
getCenterX
public double getCenterX()
-
getCenterY
public double getCenterY()
-
getMinX
public double getMinX()
-
getMaxX
public double getMaxX()
-
getMinY
public double getMinY()
-
getMaxY
public double getMaxY()
-
intersects
public boolean intersects(XRectangle2D other)
-
contains
public boolean contains(XPoint2D point)
-
contains
public boolean contains(double xp, double yp)
-
-