Companion

object Companion

Properties

Link copied to clipboard
val Empty: Size

The size with width and height equal to 0

Link copied to clipboard

The size with width and height equal to POSITIVE_INFINITY

Functions

Link copied to clipboard
operator fun invoke(width: Double = 0.0, height: Double = width): Size
operator fun invoke(width: Float = 0.0f, height: Float = width): Size
operator fun invoke(width: Int = 0, height: Int = width): Size

Creates a Size.