You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Rectangle.contains Method

Applies to: Graphics Mill Web Controls · Archived documentation

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