public class Ellipse
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
float |
height |
float |
width |
float |
x |
float |
y |
| Constructor and Description |
|---|
Ellipse()
Construct a new ellipse with all values set to zero
|
Ellipse(float x,
float y,
float width,
float height) |
Ellipse(Vector2 position,
float width,
float height) |
public Ellipse()
public Ellipse(float x,
float y,
float width,
float height)
public Ellipse(Vector2 position, float width, float height)
public boolean contains(float x,
float y)
public boolean contains(Vector2 point)
public void set(float x,
float y,
float width,
float height)