|
PointHitShape | |
State = PointHitShape(PointX#, PointY#, ShapeIndex, ShapeX#, ShapeY#) | |
Parameters: PointX# = The X coordinate of the test point PointY# = The Y coordinate of the test point ShapeIndex = The index of the shape you wish to test ShapeX# = The X coordinate of the test shape ShapeY# = The Y coordinate of the test shape |
|
Returns: State = The hit state of the point (0 = outside of shape, 1 = inside shape) |
|
The PointHitShape function checks if a point is inside a vector shape. It will return a true (1) when the point is inside, or a false. FACTS: * None Mini Tutorial: This example checks if the mouse pointer ever hits a moving shape.
This example outputs when the mouse is over the shape. |
Related Info: | BoxHitShape | CircleHitShape | LineHitShape | ShapeHitShape : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |