Class XRectangle2D

java.lang.Object
net.sourceforge.plantuml.klimt.geom.XRectangle2D

public class XRectangle2D extends Object
  • 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

      public boolean intersects(XRectangle2D other)
    • contains

      public boolean contains(XPoint2D point)
    • contains

      public boolean contains(double xp, double yp)
    • intersect

      public XPoint2D intersect(XLine2D line)