dojox/drawing/annotations/Angle (version 1.10)

Summary

When initiated, an HTML box will hover near the Stencil, displaying it's angle while drawn or modified. Currently only works with Vector, Line, Arrow, and Axes.

Annotation is positioned with dojox.drawing.util.positioning.angle That method should be overwritten for custom placement. Called internally.

Usage

var foo = new Angle(options);
dojox/drawing/annotations/Angle
Parameter Type Description
options Object

One key value: the stencil that called this.

Property Summary

Method Summary

Properties

Methods

getAngleNode()

Gets or creates HTMLNode used for display

Returns:undefined
hideAngle()

Turns display off.

showAngle()

Called to display angle

Error in the documentation? Can’t find what you are looking for? Let us know!