[]
• Optional angle: string | number
A number value or a formula string (starts with =) will get a number value
• Optional connectionPoints: IPointInfo[]
• Optional controls: IControlInfo[]
• Optional height: string | number
A number value or a formula string (starts with =) will get a number value
• Optional id: string
• Optional left: string | number
A number value or a formula string (starts with =) will get a number value
• Optional options: IShapeOptions
• path: string[][]
• Optional textRect: Object
specify the rectangle for shape text
| Name | Type |
|---|---|
bottom |
number |
left |
number |
right |
number |
top |
number |
• Optional top: string | number
A number value or a formula string (starts with =) will get a number value
• Optional variables: Object
a key-value pairs object, value can be a number or formula string (starts with =), can be referred by variables[key] in formula
• Optional width: string | number
A number value or a formula string (starts with =) will get a number value