setSize

fun setSize(width: Double, height: Double, 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