Class EllipseMapObject


  • public class EllipseMapObject
    extends MapObject
    • Constructor Detail

      • EllipseMapObject

        public EllipseMapObject()
        Creates an Ellipse object whose lower left corner is at (0, 0) with width=1 and height=1
      • EllipseMapObject

        public EllipseMapObject​(float x,
                                float y,
                                float width,
                                float height)
        Creates an Ellipse object with the given X and Y coordinates along with a specified width and height.
        Parameters:
        x - X coordinate
        y - Y coordinate
        width - Width in pixels
        height - Height in pixels
    • Method Detail

      • getEllipse

        public Ellipse getEllipse()
        Returns:
        ellipse shape