Class CreateRectangle

  • All Implemented Interfaces:
    ICreateShape

    public class CreateRectangle
    extends java.lang.Object
    implements ICreateShape
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateRectangle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IShapes create​(java.util.List<java.lang.Integer> params, Colours fill, java.lang.String id)  
      • Methods inherited from class java.lang.Object

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

      • CreateRectangle

        public CreateRectangle()
    • Method Detail

      • create

        public IShapes create​(java.util.List<java.lang.Integer> params,
                              Colours fill,
                              java.lang.String id)
        Specified by:
        create in interface ICreateShape
        Parameters:
        params - (canvasid,int cx,int cy,int witdh,int height,)
        fill - enum Colours
        id - String
        Returns:
        IShapes