Class XRectangle2D
java.lang.Object
net.sourceforge.plantuml.klimt.geom.XRectangle2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double xp, double yp) booleandoubledoubledoubledoublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()doublegetWidth()doublegetX()doublegetY()booleanintersects(XRectangle2D other)
-
Field Details
-
x
public final double x -
y
public final double y -
width
public final double width -
height
public final double height
-
-
Constructor Details
-
XRectangle2D
public XRectangle2D(double x, double y, double width, double height)
-
-
Method Details
-
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
-
contains
-
contains
public boolean contains(double xp, double yp) -
intersect
-