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/svg.js

  • Provides:

    • dojox.gfx.svg
  • Requires:

    • dojox.gfx._base in common
    • dojox.gfx.shape in common
    • dojox.gfx.path in common
  • dojox.gfx.svg.Text

    • type
      Function
    • chains:
      • Font: (prototype)
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Text.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Text: (call)
    • summary
      an anchored text (SVG)
  • dojox.gfx.svg.TextPath

    • type
      Function
    • chains:
      • Font: (prototype)
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.path.TextPath.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.path.TextPath: (call)
    • summary
      a textpath shape (SVG)
  • dojox.gfx.svg.Group

    • type
      Function
    • chains:
      • Container: (prototype)
      • dojox.gfx.shape.Creator: (prototype)
      • Creator: (prototype)
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.svg.Shape: (call)
    • summary
      a group shape (SVG), which can be used
      to logically group shapes (e.g, to propagate matricies)
  • dojox.gfx.svg.Surface

    • type
      Function
    • chains:
      • Container: (prototype)
      • dojox.gfx.shape.Creator: (prototype)
      • Creator: (prototype)
      • _eventsProcessing: (prototype)
      • dojox.gfx.shape.Surface: (prototype)
      • dojox.gfx.shape.Surface: (call)
    • summary
      a surface object to be used for drawings (SVG)
  • dojox.gfx.svg.Shape

    • type
      Function
    • chains:
      • _eventsProcessing: (prototype)
      • dojox.gfx.shape.Shape: (prototype)
      • dojox.gfx.shape.Shape: (call)
    • summary
      SVG-specific implementation of dojox.gfx.Shape methods
  • dojox.gfx.svg.Shape.setFill

    • parameters:
      • fill: (typeof Object:)
        a fill object
        (see dojox.gfx.defaultLinearGradient,
        dojox.gfx.defaultRadialGradient,
        dojox.gfx.defaultPattern,
        or dojo.Color)
    • returns
      self
    • summary
      sets a fill object (SVG)
    • type
      Function
  • dojox.gfx.svg.Shape.fillStyle

    • type
      Object
  • dojox.gfx.svg.Shape.setStroke

    • parameters:
      • stroke: (typeof Object)
        a stroke object (see dojox.gfx.defaultStroke)
    • returns
      self
    • summary
      sets a stroke object (SVG)
    • type
      Function
  • dojox.gfx.svg.Shape.rawNode

  • dojox.gfx.svg.Shape.strokeStyle

    • type
      Object
  • dojox.gfx.svg.Shape._getParentSurface

    • type
      Function
  • dojox.gfx.svg.Shape._setFillObject

    • parameters:
      • f
      • nodeType
    • type
      Function
  • dojox.gfx.svg.Shape._applyTransform

    • type
      Function
  • dojox.gfx.svg.Shape.matrix

  • dojox.gfx.svg.Shape.setRawNode

    • parameters:
      • rawNode
    • summary
      assigns and clears the underlying node that will represent this
      shape. Once set, transforms, gradients, etc, can be applied.
      (no fill & stroke by default)
    • type
      Function
  • dojox.gfx.svg.Shape.setShape

    • parameters:
      • newShape: (typeof Object:)
        a shape object
        (see dojox.gfx.defaultPath,
        dojox.gfx.defaultPolyline,
        dojox.gfx.defaultRect,
        dojox.gfx.defaultEllipse,
        dojox.gfx.defaultCircle,
        dojox.gfx.defaultLine,
        or dojox.gfx.defaultImage)
    • returns
      self
    • summary
      sets a shape object (SVG)
    • type
      Function
  • dojox.gfx.svg.Shape.shape

    • type
      Object
  • dojox.gfx.svg.Shape.bbox

    • type
      Object
  • dojox.gfx.svg.Shape._moveToFront

    • returns
      self
    • summary
      moves a shape to front of its parent's list of shapes (SVG)
    • type
      Function
  • dojox.gfx.svg.Shape._moveToBack

    • returns
      self
    • summary
      moves a shape to back of its parent's list of shapes (SVG)
    • type
      Function
  • dojox.gfx.svg.Group.constructor

    • constructor - constructor
    • type
      Function
  • dojox.gfx.svg.Group.setRawNode

    • parameters:
      • rawNode: (typeof Node:)
        an SVG node
    • summary
      sets a raw SVG node to be used by this shape
    • type
      Function
  • dojox.gfx.svg.Group.rawNode

  • dojox.gfx.svg.Group.setRawNode.rawNode

    • type
      Node:
    • summary
      an SVG node
  • dojox.gfx.svg.Rect

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Rect.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Rect: (call)
    • summary
      a rectangle shape (SVG)
  • dojox.gfx.svg.Rect.setShape

    • parameters:
      • newShape: (typeof Object:)
        a rectangle shape object
    • returns
      self
    • summary
      sets a rectangle shape object (SVG)
    • type
      Function
  • dojox.gfx.svg.Rect.shape

    • type
      Object
  • dojox.gfx.svg.Rect.bbox

    • type
      Object
  • dojox.gfx.svg.Ellipse

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Ellipse.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Ellipse: (call)
  • dojox.gfx.svg.Circle

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Circle.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Circle: (call)
  • dojox.gfx.svg.Line

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Line.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Line: (call)
  • dojox.gfx.svg.Polyline

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Polyline.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Polyline: (call)
    • summary
      a polyline/polygon shape (SVG)
  • dojox.gfx.svg.Polyline.setShape

    • parameters:
      • points: (typeof Object:)
        a polyline/polygon shape object
      • closed
    • returns
      self
    • summary
      sets a polyline/polygon shape object (SVG)
    • type
      Function
  • dojox.gfx.svg.Polyline.shape

    • type
      Object
  • dojox.gfx.svg.Polyline.bbox

    • type
      Object
  • dojox.gfx.svg.Polyline.shape.points

  • dojox.gfx.svg.Image

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.shape.Image.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.shape.Image: (call)
    • summary
      an image (SVG)
  • dojox.gfx.svg.Image.setShape

    • parameters:
      • newShape: (typeof Object:)
        an image shape object
    • returns
      self
    • summary
      sets an image shape object (SVG)
    • type
      Function
  • dojox.gfx.svg.Image.shape

    • type
      Object
  • dojox.gfx.svg.Image.bbox

    • type
      Object
  • dojox.gfx.svg.Image.rawNode

  • dojox.gfx.svg.Text.setShape

    • parameters:
      • newShape: (typeof Object:)
        a text shape object
    • returns
      self
    • summary
      sets a text shape object (SVG)
    • type
      Function
  • dojox.gfx.svg.Text.shape

    • type
      Object
  • dojox.gfx.svg.Text.bbox

    • type
      Object
  • dojox.gfx.svg.Text.rawNode

  • dojox.gfx.svg.Text.rawNode.firstChild.nodeValue

  • dojox.gfx.svg.Text.getTextWidth

    • summary
      get the text width in pixels
    • type
      Function
  • dojox.gfx.svg.Text.rawNode.parentNode

  • dojox.gfx.svg.Path

    • type
      Function
    • chains:
      • dojox.gfx.svg.Shape: (prototype)
      • dojox.gfx.path.Path.prototype: (prototype)
      • dojox.gfx.svg.Shape: (call)
      • dojox.gfx.path.Path: (call)
    • summary
      a path shape (SVG)
  • dojox.gfx.svg.Path._updateWithSegment

    • parameters:
      • segment: (typeof Object:)
        a segment
    • summary
      updates the bounding box of path with new segment
    • type
      Function
  • dojox.gfx.svg.Path.setShape

    • parameters:
      • newShape: (typeof Object:)
        an SVG path string or a path object (see dojox.gfx.defaultPath)
    • returns
      self
    • summary
      forms a path using a shape (SVG)
    • type
      Function
  • dojox.gfx.svg.TextPath._updateWithSegment

    • parameters:
      • segment: (typeof Object:)
        a segment
    • summary
      updates the bounding box of path with new segment
    • type
      Function
  • dojox.gfx.svg.TextPath.setShape

    • parameters:
      • newShape: (typeof Object:)
        an SVG path string or a path object (see dojox.gfx.defaultPath)
    • returns
      self
    • summary
      forms a path using a shape (SVG)
    • type
      Function
  • dojox.gfx.svg.TextPath._setTextPath

    • type
      Function
  • dojox.gfx.svg.TextPath.rawNode

  • dojox.gfx.svg.TextPath._setText

    • type
      Function
  • dojox.gfx.svg.TextPath.text

  • dojox.gfx.svg.Surface.constructor

    • constructor - constructor
    • type
      Function
  • dojox.gfx.svg.Surface.destroy

    • type
      Function
  • dojox.gfx.svg.Surface.defNode

    • type
      Object
  • dojox.gfx.svg.Surface.setDimensions

    • parameters:
      • width: (typeof String:)
        width of surface, e.g., "100px"
      • height: (typeof String:)
        height of surface, e.g., "100px"
    • returns
      self
    • summary
      sets the width and height of the rawNode
    • type
      Function
  • dojox.gfx.svg.Surface.getDimensions

    • returns
      Object
    • summary
      returns an object with properties "width" and "height"
    • type
      Function
  • dojo

    • alias - dojo
  • dojox.gfx

    • alias - dojox.gfx
  • dojox.gfx.shape

    • alias - dojox.gfx.shape
  • dojox.gfx.svg

    • alias - dojox.gfx.svg
  • dojox.gfx.svg.useSvgWeb

    • type
      bool
  • dojox.gfx.svg.xmlns

    • type
      Object
  • dojox.gfx.svg.xmlns.xlink

    • type
      String
  • dojox.gfx.svg.xmlns.svg

    • type
      String
  • dojox.gfx.svg.getRef

    • parameters:
      • name: (typeof String:)
        an SVG external reference
    • returns
      Node
    • summary
      returns a DOM Node specified by the name argument or null
    • type
      Function
  • dojox.gfx.svg.dasharray

    • type
      Object
  • dojox.gfx.svg.dasharray.solid

    • type
      String
  • dojox.gfx.svg.dasharray.shortdash

    • type
      Array
  • dojox.gfx.svg.dasharray.shortdot

    • type
      Array
  • dojox.gfx.svg.dasharray.shortdashdot

    • type
      Array
  • dojox.gfx.svg.dasharray.shortdashdotdot

    • type
      Array
  • dojox.gfx.svg.dasharray.dot

    • type
      Array
  • dojox.gfx.svg.dasharray.dash

    • type
      Array
  • dojox.gfx.svg.dasharray.longdash

    • type
      Array
  • dojox.gfx.svg.dasharray.dashdot

    • type
      Array
  • dojox.gfx.svg.dasharray.longdashdot

    • type
      Array
  • dojox.gfx.svg.dasharray.longdashdotdot

    • type
      Array
  • dojox.gfx.svg.Group.nodeType

    • type
      String
  • dojox.gfx.svg.Rect.nodeType

    • type
      String
  • dojox.gfx.svg.Ellipse.nodeType

    • type
      String
  • dojox.gfx.svg.Circle.nodeType

    • type
      String
  • dojox.gfx.svg.Line.nodeType

    • type
      String
  • dojox.gfx.svg.Polyline.nodeType

    • type
      String
  • dojox.gfx.svg.Image.nodeType

    • type
      String
  • dojox.gfx.svg.Text.nodeType

    • type
      String
  • dojox.gfx.svg.Path.nodeType

    • type
      String
  • dojox.gfx.svg.TextPath.nodeType

    • type
      String
  • dojox.gfx.svg.createSurface

    • parameters:
      • parentNode: (typeof Node:)
        a parent node
      • width: (typeof String:)
        width of surface, e.g., "100px"
      • height: (typeof String:)
        height of surface, e.g., "100px"
    • returns
      dojox.gfx.Surface
    • summary
      creates a surface (SVG)
    • type
      Function
  • dojox.gfx.shape.Container

    • alias - dojox.gfx.shape.Container
  • dojox

    • type
      Object