Package models.shapes

Class Circle

  • All Implemented Interfaces:
    IShapes

    public class Circle
    extends java.lang.Object
    implements IShapes
    model for Circle in html
    • Constructor Summary

      Constructors 
      Constructor Description
      Circle​(java.lang.String canvasID)  
    • Constructor Detail

      • Circle

        public Circle​(java.lang.String canvasID)
    • Method Detail

      • getFill

        public Colours getFill()
      • setFill

        public void setFill​(Colours fill)
      • getR

        public int getR()
      • setR

        public void setR​(int r)
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface IShapes
      • getCx

        public int getCx()
        Specified by:
        getCx in interface IShapes
      • setCx

        public void setCx​(int cx)
        Specified by:
        setCx in interface IShapes
      • getCy

        public int getCy()
        Specified by:
        getCy in interface IShapes
      • setCy

        public void setCy​(int cy)
        Specified by:
        setCy in interface IShapes