Search
Rect.contains Method
See Also
 





Determines if the rectangular region represented by rect is entirely contained within this Rect object.

Namespace: MindFusion.Drawing
Package: Rect.js

 Syntax

JavaScript  Copy Code

function contains (rect)

 Parameters

rect
The Rect to test.

 Return Value

true if the rectangular region represented by rect is entirely contained within this Rect; otherwise, false.

 See Also