Example usage for Java com.badlogic.gdx.math Circle fields, constructors, methods, implement or subclass
The text is from its open source code.
Circle() Constructs a new circle with all values set to zero | |
Circle(Circle circle) Copy constructor | |
Circle(float x, float y, float radius) Constructs a new circle with the given X and Y coordinates and the given radius. |
boolean | contains(float x, float y) Checks whether or not this circle contains a given point. |
boolean | contains(Vector2 point) Checks whether or not this circle contains a given point. |
boolean | contains(Circle c) |
void | set(float x, float y, float radius) Sets a new location and radius for this circle. |
void | setPosition(float x, float y) Sets the x and y-coordinates of circle center |