Functions

Link copied to clipboard
abstract fun height(): Int

Returns the height to be used when scaling

Link copied to clipboard
abstract fun scale(factor: Double): T

Scale T using the given factor. Affects: properties defined by inheritor.

open fun scale(maxWidth: Int, maxHeight: Int): T

Scale T to fit within the given maxWidth and maxHeight.

Link copied to clipboard
abstract fun width(): Int

Returns the width to be used when scaling