new Caption(desktop, data)
- Description:
Caption constructor
Parameters:
Name | Type | Description |
---|---|---|
desktop |
Simplicite.Diagram.Desktop | desk manager |
data |
Object | Model data and { x, y } |
Methods
(static) bind()
- Description:
Bind caption
(static) draw()
- Description:
Draw caption
(static) size(w, h)
- Description:
Set/Get size of caption
Parameters:
Name | Type | Description |
---|---|---|
w |
number | Width |
h |
number | Height |