Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/drawing/defaults.js

  • Provides:

    • dojox.drawing.defaults
  • dojox.drawing.defaults

    • summary
      Styles and defaults used for Drawing stencils and text.
    • description
      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
      
      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
    • type
      Object
  • dojox.drawing.defaults.clickMode

    • type
      Object
  • dojox.drawing.defaults.clickable

    • type
      Object
  • dojox.drawing.defaults.current

    • type
      Object
    • summary
      current will point to either null or selected
  • dojox.drawing.defaults.currentHit

    • type
      Object
    • summary
      currentHit will point to either hitNorm or hitSelected
  • dojox.drawing.defaults.angleSnap

    • type
      Number
    • summary
      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
  • dojox.drawing.defaults.zAxis

    • type
      Boolean
    • summary
      If true, draw current object in z-direction.
  • dojox.drawing.defaults.zAxisEnabled

    • type
      Boolean
    • summary
      If true, render axes with Z-axis included, allow objects drawn in z-direction.
      If false the z-axis button will not show up.
  • dojox.drawing.defaults.zAngle

    • type
      Number
  • dojox.drawing.defaults.renderHitLines

    • type
      Boolean
    • summary
      If true, renders a second, larger layer for lines to make
      them more easily clickable.
  • dojox.drawing.defaults.renderHitLayer

    • type
      If
    • summary
      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.
  • dojox.drawing.defaults.labelSameColor

    • type
      If
    • summary
      true, the label text color will be the same as the
      Stencil's line color.
  • dojox.drawing.defaults.useSelectedStyle

    • type
      Object
  • dojox.drawing.defaults.norm

    • summary
      Normal style of all shapes
      will get overridden by
      above andes styles
      
      
      square, butt, round
    • type
      Object
  • dojox.drawing.defaults.norm.width

    • type
      Number
  • dojox.drawing.defaults.norm.color

    • type
      String
  • dojox.drawing.defaults.norm.style

    • type
      String
  • dojox.drawing.defaults.norm.cap

    • type
      String
  • dojox.drawing.defaults.norm.fill

    • type
      String
  • dojox.drawing.defaults.selected

    • summary
      Selected style of all shapes
      styles not shown will used from
      norm
    • type
      Object
  • dojox.drawing.defaults.selected.width

    • type
      Number
  • dojox.drawing.defaults.selected.color

    • type
      String
  • dojox.drawing.defaults.highlighted

    • summary
      Highlighted style of all shapes
      NOT CURRENTLY BEING USED
    • type
      Object
  • dojox.drawing.defaults.highlighted.width

    • type
      Number
  • dojox.drawing.defaults.highlighted.color

    • type
      String
  • dojox.drawing.defaults.highlighted.style

    • type
      String
  • dojox.drawing.defaults.highlighted.cap

    • type
      String
  • dojox.drawing.defaults.highlighted.fill

    • type
      String
  • dojox.drawing.defaults.disabled

    • summary
      Disabled or &quot;locked&quot; or &quot;fade&quot; style of all shapes
    • type
      Object
  • dojox.drawing.defaults.disabled.width

    • type
      Number
  • dojox.drawing.defaults.disabled.color

    • type
      String
  • dojox.drawing.defaults.disabled.style

    • type
      String
  • dojox.drawing.defaults.disabled.cap

    • type
      String
  • dojox.drawing.defaults.disabled.fill

    • type
      String
  • dojox.drawing.defaults.hitNorm

    • summary
      Normal style of a hit area
    • type
      Object
  • dojox.drawing.defaults.hitNorm.width

    • type
      Number
  • dojox.drawing.defaults.hitNorm.color

    • type
      Object
  • dojox.drawing.defaults.hitNorm.color.r

    • type
      Number
  • dojox.drawing.defaults.hitNorm.color.g

    • type
      Number
  • dojox.drawing.defaults.hitNorm.color.b

    • type
      Number
  • dojox.drawing.defaults.hitNorm.color.a

    • type
      Number
  • dojox.drawing.defaults.hitNorm.style

    • type
      String
  • dojox.drawing.defaults.hitNorm.cap

    • type
      String
  • dojox.drawing.defaults.hitNorm.fill

    • type
      Object
  • dojox.drawing.defaults.hitNorm.fill.r

    • type
      Number
  • dojox.drawing.defaults.hitNorm.fill.g

    • type
      Number
  • dojox.drawing.defaults.hitNorm.fill.b

    • type
      Number
  • dojox.drawing.defaults.hitNorm.fill.a

    • type
      Number
  • dojox.drawing.defaults.hitSelected

    • summary
      Selected style of a hit area
    • type
      Object
  • dojox.drawing.defaults.hitSelected.width

    • type
      Number
  • dojox.drawing.defaults.hitSelected.color

    • type
      String
  • dojox.drawing.defaults.hitSelected.style

    • type
      String
  • dojox.drawing.defaults.hitSelected.cap

    • type
      String
  • dojox.drawing.defaults.hitSelected.fill

    • type
      Object
  • dojox.drawing.defaults.hitSelected.fill.r

    • type
      Number
  • dojox.drawing.defaults.hitSelected.fill.g

    • type
      Number
  • dojox.drawing.defaults.hitSelected.fill.b

    • type
      Number
  • dojox.drawing.defaults.hitSelected.fill.a

    • type
      Number
  • dojox.drawing.defaults.hitHighlighted

    • summary
      Highlighted style of a hit area
    • type
      Object
  • dojox.drawing.defaults.hitHighlighted.width

    • type
      Number
  • dojox.drawing.defaults.hitHighlighted.color

    • type
      String
  • dojox.drawing.defaults.hitHighlighted.style

    • type
      String
  • dojox.drawing.defaults.hitHighlighted.cap

    • type
      String
  • dojox.drawing.defaults.hitHighlighted.fill

    • type
      Object
  • dojox.drawing.defaults.hitHighlighted.fill.r

    • type
      Number
  • dojox.drawing.defaults.hitHighlighted.fill.g

    • type
      Number
  • dojox.drawing.defaults.hitHighlighted.fill.b

    • type
      Number
  • dojox.drawing.defaults.hitHighlighted.fill.a

    • type
      Number
  • dojox.drawing.defaults.anchors

    • summary
      Style for the anchor resize-points
      not really an anchor prop
    • type
      Object
  • dojox.drawing.defaults.anchors.size

    • type
      Number
  • dojox.drawing.defaults.anchors.width

    • type
      Number
  • dojox.drawing.defaults.anchors.color

    • type
      String
  • dojox.drawing.defaults.anchors.style

    • type
      String
  • dojox.drawing.defaults.anchors.fill

    • type
      String
  • dojox.drawing.defaults.anchors.cap

    • type
      String
  • dojox.drawing.defaults.anchors.minSize

    • type
      Number
  • dojox.drawing.defaults.anchors.marginZero

    • type
      Number
  • dojox.drawing.defaults.arrows

    • summary
      Size of arrows on vectors.
      length is in pixels
      width is actually an angle
      but is close to pixels in size
    • type
      Object
  • dojox.drawing.defaults.arrows.length

    • type
      Number
  • dojox.drawing.defaults.arrows.width

    • type
      Number
  • dojox.drawing.defaults.text

    • summary
      Style of text
    • type
      Object
  • dojox.drawing.defaults.text.minWidth

    • type
      Number
  • dojox.drawing.defaults.text.deleteEmptyCreate

    • type
      Object
  • dojox.drawing.defaults.text.deleteEmptyModify

    • type
      Object
  • dojox.drawing.defaults.text.pad

    • type
      Number
  • dojox.drawing.defaults.text.size

    • type
      String
  • dojox.drawing.defaults.text.family

    • type
      String
  • dojox.drawing.defaults.text.weight

    • type
      String
  • dojox.drawing.defaults.text.color

    • type
      String
  • dojox.drawing.defaults.textDisabled

    • summary
      Style of disabled text
    • type
      Object
  • dojox.drawing.defaults.textDisabled.size

    • type
      String
  • dojox.drawing.defaults.textDisabled.family

    • type
      String
  • dojox.drawing.defaults.textDisabled.weight

    • type
      String
  • dojox.drawing.defaults.textDisabled.color

    • type
      String
  • dojox.drawing.defaults.textMode

    • summary
      These styles apply to the containing
      text box (edit mode), and not the text itself
    • type
      Object
  • dojox.drawing.defaults.textMode.create

    • type
      Object
  • dojox.drawing.defaults.textMode.create.width

    • type
      Number
  • dojox.drawing.defaults.textMode.create.style

    • type
      String
  • dojox.drawing.defaults.textMode.create.color

    • type
      String
  • dojox.drawing.defaults.textMode.create.fill

    • type
      Object
  • dojox.drawing.defaults.textMode.edit

    • type
      Object
  • dojox.drawing.defaults.textMode.edit.width

    • type
      Number
  • dojox.drawing.defaults.textMode.edit.style

    • type
      String
  • dojox.drawing.defaults.textMode.edit.color

    • type
      String
  • dojox.drawing.defaults.textMode.edit.fill

    • type
      Object
  • dojox.drawing.defaults.button

    • type
      Object
  • dojox.drawing.defaults.button.norm

    • type
      Object
  • dojox.drawing.defaults.button.norm.color

    • type
      String
  • dojox.drawing.defaults.button.norm.fill

    • type
      Object
  • dojox.drawing.defaults.button.norm.fill.type

    • type
      String
  • dojox.drawing.defaults.button.norm.fill.x1

    • type
      Number
  • dojox.drawing.defaults.button.norm.fill.x2

    • type
      Number
  • dojox.drawing.defaults.button.norm.fill.y1

    • type
      Number
  • dojox.drawing.defaults.button.norm.fill.y2

    • type
      Number
  • dojox.drawing.defaults.button.norm.fill.colors

    • type
      Array
  • dojox.drawing.defaults.button.over

    • type
      Object
  • dojox.drawing.defaults.button.over.fill

    • type
      Object
  • dojox.drawing.defaults.button.over.fill.type

    • type
      String
  • dojox.drawing.defaults.button.over.fill.x1

    • type
      Number
  • dojox.drawing.defaults.button.over.fill.x2

    • type
      Number
  • dojox.drawing.defaults.button.over.fill.y1

    • type
      Number
  • dojox.drawing.defaults.button.over.fill.y2

    • type
      Number
  • dojox.drawing.defaults.button.over.fill.colors

    • type
      Array
  • dojox.drawing.defaults.button.over.color

    • type
      String
  • dojox.drawing.defaults.button.down

    • type
      Object
  • dojox.drawing.defaults.button.down.fill

    • type
      Object
  • dojox.drawing.defaults.button.down.fill.type

    • type
      String
  • dojox.drawing.defaults.button.down.fill.x1

    • type
      Number
  • dojox.drawing.defaults.button.down.fill.x2

    • type
      Number
  • dojox.drawing.defaults.button.down.fill.y1

    • type
      Number
  • dojox.drawing.defaults.button.down.fill.y2

    • type
      Number
  • dojox.drawing.defaults.button.down.fill.colors

    • type
      Array
  • dojox.drawing.defaults.button.down.color

    • type
      String
  • dojox.drawing.defaults.button.selected

    • type
      Object
  • dojox.drawing.defaults.button.selected.fill

    • type
      Object
  • dojox.drawing.defaults.button.selected.fill.type

    • type
      String
  • dojox.drawing.defaults.button.selected.fill.x1

    • type
      Number
  • dojox.drawing.defaults.button.selected.fill.x2

    • type
      Number
  • dojox.drawing.defaults.button.selected.fill.y1

    • type
      Number
  • dojox.drawing.defaults.button.selected.fill.y2

    • type
      Number
  • dojox.drawing.defaults.button.selected.fill.colors

    • type
      Array
  • dojox.drawing.defaults.button.selected.color

    • type
      String
  • dojox.drawing.defaults.button.icon

    • type
      Object
  • dojox.drawing.defaults.button.icon.norm

    • type
      Object
  • dojox.drawing.defaults.button.icon.norm.fill

    • type
      Object
  • dojox.drawing.defaults.button.icon.norm.color

    • type
      String
  • dojox.drawing.defaults.button.icon.selected

    • type
      Object
  • dojox.drawing.defaults.button.icon.selected.fill

    • type
      String
  • dojox.drawing.defaults.button.icon.selected.color

    • type
      String
  • dojox.drawing.defaults.copy

    • type
      Function
  • dojox.drawing

    • type
      Object
  • dojox

    • type
      Object