RectangleController Class

This client-side class corresponds to the RectangleController server-side class and gives an opportunity to obtain access to its primary members in JavaScript. This is a base class for all the navigators and rubberbands which should display a rectangle.

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

Syntax

Java Script
GraphicsMill.RectangleController = function();

Type.createClass(
	'GraphicsMill.RectangleController',
	GraphicsMill.UserInputController);

Remarks

This class implements the functionality for displaying a rectangle rubberband. You can change the rectangle appearance using RectangleController.outlineColor, RectangleController.outlineWidth, and RectangleController.outlineStyle client-side properties.

This class allows to specify whether to display a mask which shadows the image out of the rectangle. The mask can be customized by maskColor and maskOpacity client-side properties.

Inheritance Hierarchy

Sys..Component

See Also

Reference