public class EllipseMapObject extends MapObject
Constructor and Description |
---|
EllipseMapObject()
Creates an
Ellipse object whose lower left corner is at (0, 0) with width=1 and height=1 |
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. |
Modifier and Type | Method and Description |
---|---|
Ellipse |
getEllipse() |
getColor, getName, getOpacity, getProperties, isVisible, setColor, setName, setOpacity, setVisible
public EllipseMapObject()
Ellipse
object whose lower left corner is at (0, 0) with width=1 and height=1public EllipseMapObject(float x, float y, float width, float height)
Ellipse
object with the given X and Y coordinates along with a specified width and height.x
- X coordinatey
- Y coordinatewidth
- Width in pixelsheight
- Height in pixelspublic Ellipse getEllipse()
Copyright © 2015. All rights reserved.