contains

operator fun ShapeContour.contains(point: Vector2): Boolean(source)

Returns true if given point lies inside the ShapeContour.


operator fun Shape.contains(v: Vector2): Boolean(source)

Returns true if given Vector2 is inside the Shape.