Class GenericRectangle

  • All Implemented Interfaces:
    GenericShape

    public class GenericRectangle
    extends java.lang.Object
    implements GenericShape
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(double x, double y)  
      • Methods inherited from class java.lang.Object

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

      • GenericRectangle

        public GenericRectangle​(double x,
                                double y,
                                double w,
                                double h)
    • Method Detail

      • contains

        public boolean contains​(double x,
                                double y)
        Specified by:
        contains in interface GenericShape