You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

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