Package 

Class Rectangle

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.shapes.Shape

    
    public class Rectangle<P extends Position2D<P>>
    extends Abstract2DShape<P>
                        

    A Rectangle.

    • Constructor Summary

      Constructors 
      Constructor Description
      Rectangle(double x, double y, double w, double h)
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.loader.shapes.Abstract2DShape

        contains, toString
      • Methods inherited from class it.unibo.alchemist.loader.shapes.Shape

        contains
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Rectangle

        Rectangle(double x, double y, double w, double h)
        Parameters:
        x - start x point
        y - start y point
        w - width
        h - height