Rect.includedPos
Function/Meaning
Rectangle inclusion check
Type
Method of the
Rect class
Syntax
includedPos(
x
,
y
)
Arguments
x
Specifies the X-axis coordinate value to check.
y
Specifies the Y-axis coordinate value to check.
Return Value
Whether included
Description
Determines whether the specified position is included within the rectangle.
Returns true if it is included.
The check is performed excluding the right and bottom boundaries.