Ant Organisation Ltd documentation

Rect.Contains Method (Int32, Int32)

Tests whether a given point is contained within this rectangle.

public bool Contains(
   int x,
   int y
);

Parameters

x
X-coordinate to test for containment.
y
Y-coordinate to test for containment.

Return Value

True if the point is within this rectangle.

Remarks

Note that the bottom and right-hand edges are considered exclusive.

See Also

Rect Class | Ant.Workflow.View.TransitionRouting Namespace | Rect.Contains Overload List