Method PrepareControlRect
PrepareControlRect(float, bool)
Prepares the rendering Rect of the Drawer.
Declaration
protected Rect PrepareControlRect(float height = -1, bool fullWidth = false)
Parameters
| Type | Name | Description |
|---|---|---|
| float | height | Height of the rect. |
| bool | fullWidth | Whether to reserve full width for the element. |
Returns
| Type | Description |
|---|---|
| Rect | Appropriate Rect for drawing. |