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

Rectangle.equals Method

Determines whether the specified rectangle equals to this Rectangle.

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

Syntax

Java Script
function equals(rect);

Parameters

rect

Type: GraphicsMill.Rectangle

The Rectangle to test.

Return Value

This method returns true if rect is a Rectangle structure and its x, y, width, and height fields are equal to the corresponding fields of this Rectangle structure; otherwise, false.

See Also

Reference