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/gfx/_base.js

  • Provides:

    • dojox.gfx._base
  • dojox.gfx.defaultPath

    • type
      Object
  • dojox.gfx.defaultPath.type

    • type
      String
  • dojox.gfx.defaultPath.path

    • type
      String
  • dojox.gfx.defaultPolyline

    • type
      Object
  • dojox.gfx.defaultPolyline.type

    • type
      String
  • dojox.gfx.defaultPolyline.points

    • type
      Array
  • dojox.gfx.defaultRect

    • type
      Object
  • dojox.gfx.defaultRect.type

    • type
      String
  • dojox.gfx.defaultRect.x

    • type
      Number
  • dojox.gfx.defaultRect.y

    • type
      Number
  • dojox.gfx.defaultRect.width

    • type
      Number
  • dojox.gfx.defaultRect.height

    • type
      Number
  • dojox.gfx.defaultRect.r

    • type
      Number
  • dojox.gfx.defaultEllipse

    • type
      Object
  • dojox.gfx.defaultEllipse.type

    • type
      String
  • dojox.gfx.defaultEllipse.cx

    • type
      Number
  • dojox.gfx.defaultEllipse.cy

    • type
      Number
  • dojox.gfx.defaultEllipse.rx

    • type
      Number
  • dojox.gfx.defaultEllipse.ry

    • type
      Number
  • dojox.gfx.defaultCircle

    • type
      Object
  • dojox.gfx.defaultCircle.type

    • type
      String
  • dojox.gfx.defaultCircle.cx

    • type
      Number
  • dojox.gfx.defaultCircle.cy

    • type
      Number
  • dojox.gfx.defaultCircle.r

    • type
      Number
  • dojox.gfx.defaultLine

    • type
      Object
  • dojox.gfx.defaultLine.type

    • type
      String
  • dojox.gfx.defaultLine.x1

    • type
      Number
  • dojox.gfx.defaultLine.y1

    • type
      Number
  • dojox.gfx.defaultLine.x2

    • type
      Number
  • dojox.gfx.defaultLine.y2

    • type
      Number
  • dojox.gfx.defaultImage

    • type
      Object
  • dojox.gfx.defaultImage.type

    • type
      String
  • dojox.gfx.defaultImage.x

    • type
      Number
  • dojox.gfx.defaultImage.y

    • type
      Number
  • dojox.gfx.defaultImage.width

    • type
      Number
  • dojox.gfx.defaultImage.height

    • type
      Number
  • dojox.gfx.defaultImage.src

    • type
      String
  • dojox.gfx.defaultText

    • type
      Object
  • dojox.gfx.defaultText.type

    • type
      String
  • dojox.gfx.defaultText.x

    • type
      Number
  • dojox.gfx.defaultText.y

    • type
      Number
  • dojox.gfx.defaultText.text

    • type
      String
  • dojox.gfx.defaultText.align

    • type
      String
  • dojox.gfx.defaultText.decoration

    • type
      String
  • dojox.gfx.defaultText.rotated

    • type
      bool
  • dojox.gfx.defaultText.kerning

    • type
      Object
  • dojox.gfx.defaultTextPath

    • type
      Object
  • dojox.gfx.defaultTextPath.type

    • type
      String
  • dojox.gfx.defaultTextPath.text

    • type
      String
  • dojox.gfx.defaultTextPath.align

    • type
      String
  • dojox.gfx.defaultTextPath.decoration

    • type
      String
  • dojox.gfx.defaultTextPath.rotated

    • type
      bool
  • dojox.gfx.defaultTextPath.kerning

    • type
      Object
  • dojox.gfx.defaultStroke

    • type
      Object
  • dojox.gfx.defaultStroke.type

    • type
      String
  • dojox.gfx.defaultStroke.color

    • type
      String
  • dojox.gfx.defaultStroke.style

    • type
      String
  • dojox.gfx.defaultStroke.width

    • type
      Number
  • dojox.gfx.defaultStroke.cap

    • type
      String
  • dojox.gfx.defaultStroke.join

    • type
      Number
  • dojox.gfx.defaultLinearGradient

    • type
      Object
  • dojox.gfx.defaultLinearGradient.type

    • type
      String
  • dojox.gfx.defaultLinearGradient.x1

    • type
      Number
  • dojox.gfx.defaultLinearGradient.y1

    • type
      Number
  • dojox.gfx.defaultLinearGradient.x2

    • type
      Number
  • dojox.gfx.defaultLinearGradient.y2

    • type
      Number
  • dojox.gfx.defaultLinearGradient.colors

    • type
      Array
  • dojox.gfx.defaultRadialGradient

    • type
      Object
  • dojox.gfx.defaultRadialGradient.type

    • type
      String
  • dojox.gfx.defaultRadialGradient.cx

    • type
      Number
  • dojox.gfx.defaultRadialGradient.cy

    • type
      Number
  • dojox.gfx.defaultRadialGradient.r

    • type
      Number
  • dojox.gfx.defaultRadialGradient.colors

    • type
      Array
  • dojox.gfx.defaultPattern

    • type
      Object
  • dojox.gfx.defaultPattern.type

    • type
      String
  • dojox.gfx.defaultPattern.x

    • type
      Number
  • dojox.gfx.defaultPattern.y

    • type
      Number
  • dojox.gfx.defaultPattern.width

    • type
      Number
  • dojox.gfx.defaultPattern.height

    • type
      Number
  • dojox.gfx.defaultPattern.src

    • type
      String
  • dojox.gfx.defaultFont

    • type
      Object
  • dojox.gfx.defaultFont.type

    • type
      String
  • dojox.gfx.defaultFont.style

    • type
      String
  • dojox.gfx.defaultFont.variant

    • type
      String
  • dojox.gfx.defaultFont.weight

    • type
      String
  • dojox.gfx.defaultFont.size

    • type
      String
  • dojox.gfx.defaultFont.family

    • type
      String
  • dojox.gfx.getDefault

    • type
      Object
  • dojox.gfx.normalizeColor

    • parameters:
      • color: (typeof Color)
    • returns
      dojo.Color
    • summary
      converts any legal color representation to normalized
      dojo.Color object
    • type
      Function
  • dojox.gfx.normalizeParameters

    • parameters:
      • existed: (typeof Object)
        the "target" object to be updated
      • update: (typeof Object)
        the "update" object, whose properties will be used to update
        the existed object
    • returns
      Object
    • summary
      updates an existing object with properties from an "update"
      object
    • type
      Function
  • dojox.gfx.makeParameters

    • parameters:
      • defaults: (typeof Object)
        the object to be cloned before updating
      • update: (typeof Object)
        the object, which properties are to be cloned during updating
    • returns
      Object
    • summary
      copies the original object, and all copied properties from the
      "update" object
    • type
      Function
  • dojox.gfx.formatNumber

    • parameters:
      • x: (typeof Number:)
        number to be converted
      • addSpace: (typeof Boolean:)
        if it is true, add a space before a positive number
    • returns
      String
    • summary
      converts a number to a string using a fixed notation
    • type
      Function
  • dojox.gfx.makeFontString

    • parameters:
      • font: (typeof Object:)
        font object (see dojox.gfx.defaultFont)
    • returns
      Object
    • summary
      converts a font object to a CSS font string
    • type
      Function
  • dojox.gfx.splitFontString

    • parameters:
      • str: (typeof String)
        a CSS font string
    • returns
      Object
    • summary
      converts a CSS font string to a font object
    • description
      Converts a CSS font string to a gfx font object. The CSS font
      string components should follow the W3C specified order
      (see http://www.w3.org/TR/CSS2/fonts.html#font-shorthand):
      style, variant, weight, size, optional line height (will be
      ignored), and family.
    • type
      Function
  • dojox.gfx.cm_in_pt

    • type
      Number
  • dojox.gfx.mm_in_pt

    • type
      Number
  • dojox.gfx.px_in_pt

    • returns
      Number
    • summary
      returns a number of pixels per point
    • type
      Function
  • dojox.gfx.pt2px

    • parameters:
      • len: (typeof Number:)
        a value in points
    • returns
      Number
    • summary
      converts points to pixels
    • type
      Function
  • dojox.gfx.px2pt

    • parameters:
      • len: (typeof Number:)
        a value in pixels
    • returns
      Number
    • summary
      converts pixels to points
    • type
      Function
  • dojox.gfx.normalizedLength

    • parameters:
      • len: (typeof String:)
        a length, e.g., "12pc"
    • returns
      Number
    • summary
      converts any length value to pixels
    • type
      Function
  • dojox.gfx.pathVmlRegExp

    • type
      RegExp
  • dojox.gfx.pathSvgRegExp

    • type
      RegExp
  • dojox.gfx.equalSources

    • parameters:
      • a
      • b
    • summary
      compares event sources, returns true if they are equal
    • type
      Function
  • dojox.gfx.switchTo

    • parameters:
      • renderer
    • type
      Function
  • dojox.gfx

    • summary
      defines constants, prototypes, and utility functions
    • alias - dojox.gfx
  • dojox.gfx._base

    • alias - dojox.gfx._base
  • dojox.gfx._hasClass

    • parameters:
      • node: (typeof DomNode)
      • classStr: (typeof String)
    • returns
      Boolean
    • summary
      Returns whether or not the specified classes are a portion of the
      class list currently applied to the node.
      return (new RegExp('(^|\\s+)'+classStr+'(\\s+|$)')).test(node.className)	// Boolean
    • type
      Function
  • dojox.gfx._addClass

    • parameters:
      • node: (typeof DomNode)
      • classStr: (typeof String)
    • summary
      Adds the specified classes to the end of the class list on the
      passed node.
    • type
      Function
  • dojox.gfx._removeClass

    • parameters:
      • node: (typeof DomNode)
      • classStr: (typeof String)
    • summary
      Removes classes from node.
    • type
      Function
  • dojox.gfx._base._getFontMeasurements

    • returns
      object
    • summary
      Returns an object that has pixel equivilents of standard font
      size values.
    • type
      Function
  • dojox.gfx._base._getCachedFontMeasurements

    • parameters:
      • recalculate
    • type
      Function
  • dojox.gfx._base._getTextBox

    • parameters:
      • text: (typeof String)
      • style: (typeof Object)
      • className: (typeof String)
    • type
      Function
  • dojox.gfx._base._getUniqueId

    • summary
      returns a unique string for use with any DOM element
    • type
      Function
  • dojox

    • type
      Object