Class RectangularShape

java.lang.Object
eu.hansolo.fx.geometry.Shape
eu.hansolo.fx.geometry.RectangularShape
Direct Known Subclasses:
Ellipse

public abstract class RectangularShape extends Shape
  • Constructor Details

    • RectangularShape

      protected RectangularShape()
  • Method Details

    • getX

      public abstract double getX()
    • getY

      public abstract double getY()
    • getWidth

      public abstract double getWidth()
    • getHeight

      public abstract double getHeight()
    • getMinX

      public double getMinX()
    • getMinY

      public double getMinY()
    • getMaxX

      public double getMaxX()
    • getMaxY

      public double getMaxY()
    • getCenterX

      public double getCenterX()
    • getCenterY

      public double getCenterY()
    • isEmpty

      public abstract boolean isEmpty()
    • set

      public abstract void set(double x, double y, double w, double h)
    • set

      public void set(eu.hansolo.toolboxfx.geom.Point POINT, double WIDTH, double HEIGHT)
    • setFromDiagonal

      public void setFromDiagonal(eu.hansolo.toolboxfx.geom.Point p1, eu.hansolo.toolboxfx.geom.Point p2)
    • setFromDiagonal

      public void setFromDiagonal(double x1, double y1, double x2, double y2)
    • setFromCenter

      public void setFromCenter(eu.hansolo.toolboxfx.geom.Point CENTER, eu.hansolo.toolboxfx.geom.Point CORNER)
    • setFromCenter

      public void setFromCenter(double CENTER_X, double CENTER_Y, double CORNER_X, double CORNER_Y)
    • contains

      public boolean contains(eu.hansolo.toolboxfx.geom.Point POINT)
      Overrides:
      contains in class Shape
    • getBounds

      public RectBounds getBounds()
      Specified by:
      getBounds in class Shape
    • getPathIterator

      public PathIterator getPathIterator(BaseTransform TRANSFORM, double FLATNESS)
      Specified by:
      getPathIterator in class Shape