Behavior : Canvas Fan shaped
Author:Rex.Rainbow
- Draw a fan shaped on the canvas.
Download
Properties
Activated
- Enable if you wish this to begin at the start of the layout.
Start angle
- Start angle of fan shaped, in degree.
Delta angle
- Delta angle to expand, in degree.
Duration
- Duration of drawing, in second.
Color
- Use color name, hex "#FFA500", "rgb(0-255,0-255,0-255)", "rgba(0-255,0-255,0-255,0-1)", "hsl(0-360,0-100%,0-100%)", or "hsla(0-360,0-100%,0-100%,0-1)"
Shape
- Filled shape.
- Options : ["Rectangle","Circle"]
Actions
Configure
Action:Set start angle
- Set start angle of fan shaped.
- Start angle ( number ) : Start angle of fan shaped, in degree.
Action:Set duration
- Set duration of drawing.
- Duration ( number ) : Duration of drawing, in second.
Action:Set filled color
- Set filled color.
- Color ( string ) : Use color name, hex "#FFA500", "rgb(0-255,0-255,0-255)", "rgba(0-255,0-255,0-255,0-1)", "hsl(0-360,0-100%,0-100%)", or "hsla(0-360,0-100%,0-100%,0-1)"
Control
Action:Start
- Start drawing fan shaped.
Action:Pause
- Pause drawing fan shaped.
Action:Resume
- Resume drawing fan shaped.
Expressions
Configure
Expression:StartAngle
- Get start angle of fan shaped, in degree.
Expression:Duration
- Get duration of drawing, in second.
Expression:Color
Conditions
Drawing
Condition:On drawing finished
- Triggered when drawing finished.
Condition:Is drawing
- Return true if drawing fan now.