DEMOS
DOCS
FEATURES
DOWNLOAD
PURCHASE
CONTACT
BLOG
Show:

jsPlumbToolkit.DrawingTools Class

Provides a set of drawing tools to use in conjunction with a Surface in the Toolkit - select, drag, resize. Everything this tool adds to the UI has an associated CSS class, so you can skin it very easily. There are no methods on this class - you just construct one with the parameters you need.

Constructor

jsPlumbToolkit.DrawingTools

(
  • params
)

Parameters:

  • params Object

    Constructor parameters.

    • renderer Surface

      Surface renderer to associate the tools with.

    • [widthAttribute="w"] String optional

      Name of the attribute used to store the node's width in its data.

    • [heightAttribute="h"] String optional

      Name of the attribute used to store the node's height in its data.

    • [leftAttribute="left"] String optional

      Name of the attribute used to store the node's left position in its data.

    • [topAttribute="top"] String optional

      Name of the attribute used to store the node's top position in its data.

Item Index