Class BasicShape

    • Field Detail

      • stroke_width

        protected int stroke_width
      • fill

        protected java.lang.String fill
      • stroke

        protected java.lang.String stroke
    • Constructor Detail

      • BasicShape

        public BasicShape()
    • Method Detail

      • setFill

        public void setFill​(java.lang.String col)
        Set the fill attribute.
        Parameters:
        col - the color value to use.
      • setStroke

        public void setStroke​(java.lang.String col)
        Set the stroke attribute.
        Parameters:
        col - the color value to use.
      • setStrokewidth

        public void setStrokewidth​(int width)
        Set the stroke width attribute.
        Parameters:
        width - the value to use.