new Shape()
- Description:
New shape { name, w, h, wmin, hmin, title, position, ar }
Methods
(static) fitText()
- Description:
Resize shape to fit centered text
(static) getShape()
- Description:
Get shape
(static) getTitle()
- Description:
Get title
(static) size(w, h)
- Description:
Set/Get size of element
Parameters:
Name | Type | Description |
---|---|---|
w |
number | Width |
h |
number | Height |
(static) toLine()
- Description:
To line