This documentation is for the old version. Go to the latest Graphics Mill docs

Rectangle.contains Method

Determines if the specified point is contained within the rectangular region defined by this Rectangle.

Namespace: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function contains(pt);

Parameters

pt

Type: GraphicsMill.PointF

The PointF to test.

Return Value

This method returns true if the point represented by pt is contained within this Rectangle structure; otherwise false.

See Also

Reference