Module imp2d

Class Trapezoid

java.lang.Object
java.awt.geom.RectangularShape
de.grogra.imp2d.objects.Trapezoid
All Implemented Interfaces:
Shape, Cloneable

public class Trapezoid extends RectangularShape
  • Field Details

  • Constructor Details

    • Trapezoid

      public Trapezoid()
  • Method Details

    • getManageableType

      public ManageableType getManageableType()
    • getX

      public double getX()
      Specified by:
      getX in class RectangularShape
    • getY

      public double getY()
      Specified by:
      getY in class RectangularShape
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in class RectangularShape
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in class RectangularShape
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in class RectangularShape
    • setFrame

      public void setFrame(double x, double y, double w, double h)
      Specified by:
      setFrame in class RectangularShape
    • getBounds2D

      public Rectangle2D getBounds2D()
    • contains

      public boolean contains(double x, double y)
    • intersects

      public boolean intersects(double x, double y, double w, double h)
    • contains

      public boolean contains(double x, double y, double w, double h)
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at)