Interface Shape2D

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contains​(float x, float y)
      Returns whether a point with the given coordinates is contained within the shape.
      boolean contains​(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.