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 booleancontains(double xp, double yp)booleancontains(XPoint2D point)doublegetCenterX()doublegetCenterY()doublegetHeight()doublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()doublegetWidth()doublegetX()doublegetY()XPoint2Dintersect(XLine2D line)booleanintersects(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)
-
-