You’re viewing outdated documentation. View the latest Graphics Mill documentation.

RectangleController Class

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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 outlineColor, outlineWidth, and 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