setSize

fun setSize(width: <Error class: unknown class>, height: <Error class: unknown class>, unit: Unit)

Changes the dimensions of a @size to @width x @height.

Parameters

width

the new width in units of @unit

height

the new height in units of @unit

unit

the unit for @width and @height