Plugin : Fabric
Author:Rex.Rainbow
- Canvas library. http://fabricjs.com/
Download
Properties
Interaction
- Set to "No" to have a light weight api.
Initial visibility
- Choose whether the object is visible when the layout starts.
- Options : ["Invisible","Visible"]
Hotspot
- Choose the location of the hot spot in the object.
- Options : ["Top-left","Top","Top-right","Left","Center","Right","Bottom-left","Bottom","Bottom-right"]
Actions
Canvas
Action:Render
- Render all objects on canvas.
Event
Action:Add event listener
- Add event listener.
- Variable name ( number or string ) : Variable name of this tone object
- Event name ( string ) : Event name.
- Tag ( string ) : A tag, which can be anything you like, to distinguish between different callback.
Object
Action:Create object
- Create object.
- Variable name ( number or string ) : Variable name of this tone object
- Type name ( string ) : Type name.
- JSON ( string ) : JSON value to set
- Add ( Combo ) : Add to canvas.
- Options : ["",", add to canvas"]
Action:Add
- Add object to canvas.
- Variable name ( number or string ) : Variable name of this tone object
Action:Remove
- Remove object from canvas.
- Variable name ( number or string ) : Variable name of this tone object
Property
Action:Set value
- Set property.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- Value ( number or string ) : Value to set
Action:Set JSON
- Set property to JSON string.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- JSON ( string ) : JSON value to set
Action:Set boolean
- Set property to a boolean value.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- Boolean ( Combo ) : Boolean value.
- Options : ["false","true"]
Expressions
Callback
Expression:Param
- Get the value of a parameter passed to the callback.
- Index ( number or string ) : The zero-based index of the parameter to get, or name in string.
Expression:ParamCount
- Get the number of parameters passed to callback.
Property
Expression:Property
- Get property.
- Variable name ( number or string ) : Variable name of this tone object
Conditions
Callback
Condition:Callback
- Callback.
- Tag ( string ) : A tag, which can be anything you like, to distinguish between different callback.