dojox/gfx/registry (version 1.10)

See the dojox/gfx/registry reference documentation for more information.

Method Summary

  • byId(id) Returns the shape that matches the specified id.
  • dispose(s,recurse) Removes the specified shape from the registry.
  • register(s) Register the specified shape into the graphics registry.

Methods

byId(id)
Defined by dojox/gfx/registry

Returns the shape that matches the specified id.

Parameter Type Description
id String

The unique identifier for this Shape.

Returns:dojox/gfx/shape.Shape | undefined
dispose(s,recurse)
Defined by dojox/gfx/registry

Removes the specified shape from the registry.

Parameter Type Description
s dojox/gfx/shape.Shape

The shape to unregister.

recurse Boolean
Optional
register(s)
Defined by dojox/gfx/registry

Register the specified shape into the graphics registry.

Parameter Type Description
s dojox/gfx/shape.Shape

The shape to register.

Returns:Number

The unique id associated with this shape.

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