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.
        Parameters:
        width - the width of the ellipse.
      • setHeight

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

        public javax.media.jai.PlanarImage 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
        Returns:
        a planar image