APIdia Launch Partner
Top Methods
com.badlogic.gdx.math

public Interface Shape2D

Known Direct Implementers
com.badlogic.gdx.math.Circle, com.badlogic.gdx.math.Ellipse, com.badlogic.gdx.math.Polygon, com.badlogic.gdx.math.Polyline, com.badlogic.gdx.math.Rectangle

Method Summary

Modifier and TypeMethod and Description
public boolean
contains(Vector2 point)

Returns whether the given point is contained within the shape.

public boolean
contains(float x, float y)

Returns whether a point with the given coordinates is contained within the shape.

Method Detail

containsback to summary
public boolean contains(Vector2 point)

Returns whether the given point is contained within the shape.

containsback to summary
public boolean contains(float x, float y)

Returns whether a point with the given coordinates is contained within the shape.