API Docs for: 0.0.2
Show:

canvas.NodeConfig Class

Specification of config object used to create canvas.Node. You will never create any objects of this class. It is used as help and spec only.

Item Index

Attributes

Attributes

attr

Object

Attributes added to node

Example:

{
    ...
    attr:{
            x:100,y:200
    }
    }

id

String optional

Id of node.

paint

canvas.Paint

canvas.Paint object used for styling

Default: undefined