Package com.badlogic.gdx.math
Interface Shape2D
-
- All Known Implementing Classes:
Circle,Ellipse,PixmapPacker.PixmapPackerRectangle,Polygon,Polyline,Rectangle,Table.DebugRect
public interface Shape2D
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(float x, float y)Returns whether a point with the given coordinates is contained within the shape.booleancontains(Vector2 point)Returns whether the given point is contained within the shape.
-
-
-
Method Detail
-
contains
boolean contains(Vector2 point)
Returns whether the given point is contained within the shape.
-
contains
boolean contains(float x, float y)Returns whether a point with the given coordinates is contained within the shape.
-
-