Class Ellipse

    • Field Detail

      • width

        protected int width
      • height

        protected int height
    • Constructor Detail

      • Ellipse

        public Ellipse()
    • Method Detail

      • setWidth

        public void setWidth​(int width)
        Set the width.
        width - the width of the ellipse.
      • setHeight

        public void setHeight​(int height)
        Set the height.
        height - the height of the ellipse.
      • executeDrawOperation

        public executeDrawOperation()
        Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transparent" background..
        Specified by:
        executeDrawOperation in interface DrawOperation
        a planar image