Synced
RectInt.Contains
Section titled “RectInt.Contains”
- Checks if this rectangle contains a point.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public bool Inno.Core.Mathematics.RectInt.Contains(int px, int py)Parameters
Section titled “Parameters”Parameter px: The px consumed by contains; ownership remains with the caller unless explicitly stated otherwise.
Parameter py: The py consumed by contains; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”true when the operation succeeds or its condition is satisfied; otherwise, false.