Styles and defaults used for Drawing stencils and text.
This object contains defaults for objects used in Drawing. To change one item's style, use item.attr(); To change all these styles, create a copy of this file and point to it in the Drawing properties:
<div dojoType="dojox.drawing.Drawing" id="drawing" defaults="MyCustom.defaults"></div>
See: Drawing.changeDefaults
See the dojox/drawing/defaults reference documentation for more information.
Line, arrows, vector and axes will all snap to this angle on mouse up shown angle also reflects the snap currently cannot accept less than 1 degree
Size of arrows on vectors. length is in pixels width is actually an angle but is close to pixels in size
Determines whether in draw or edit mode (whether stencils are clickable. If clickMode is false, the original functionality of silently switching between select modes is enabled. If clickMode is true, it allows powerpoint- like functionality. Clickable is used by powerpoint to distinguish when things can be selected and when they can't
currentHit will point to either hitNorm or hitSelected
Highlighted style of all shapes NOT CURRENTLY BEING USED
If true, the label text color will be the same as the Stencil's line color.
Normal style of all shapes will get overridden by above andes styles
If true, renders a second layer for each Stencil, one acting as a 'hit' object for a wider mouse-click area. It also doubles as a hilight. If true, overrides renderHitLines setting.
If true, renders a second, larger layer for lines to make them more easily clickable.
Selected style of all shapes styles not shown will used from norm
These styles apply to the containing text box (edit mode), and not the text itself
Each shape gets its own copy of these styles so that instances do not change each other's styles