Rectangle.containsPoint Method

Check if a coordinate is contained by this rectangle.
 

Parameters

coordinate

Type: dundas.controls.Coordinate
The coordinate to check.
canvasScale

Type: Number - May be null
(Optional)The current scale of the canvas. If null assumed to be 1.

Return Value


Type: Boolean
True if contained.