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.

RectangleRegion.CorrectPosition Method

Applies to: Graphics Mill Web Controls · Archived documentation

Fits the specified rectangle to this region

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

Syntax

Java Script
function correctPosition(rect);

Parameters

rect

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math..RectangleF

The rectangle to fit.

Return Value

The rectangle located inside this region which size is less or equal to the size of this region.

See Also

Reference