Package models.shapes

Class Stroke

  • All Implemented Interfaces:
    IShapes

    public class Stroke
    extends java.lang.Object
    implements IShapes
    • Constructor Detail

      • Stroke

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

      • getStroke_width

        public int getStroke_width()
      • setStroke_width

        public void setStroke_width​(int stroke_width)
      • getStroke

        public Colours getStroke()
      • setStroke

        public void setStroke​(Colours stroke)
      • getY2

        public int getY2()
      • setY2

        public void setY2​(int y2)
      • getX2

        public int getX2()
      • setX2

        public void setX2​(int x2)
      • 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