Companion

object Companion

The companion object of Size.

Properties

Link copied to clipboard
@JvmField
val unspecified: Size

Factory for building a Size instance with unspecified dimensions witch will be specified by system later.

Link copied to clipboard
const val UNSPECIFIED_SIZE: Int

Constant value representing an unspecified size.

Functions

Link copied to clipboard
@JvmStatic
fun fromArray(array: IntArray): Size

Creates a new Size instance from a 3-element integer array.

Link copied to clipboard
@JvmStatic
fun fromString(string: String): Size

Parses the specified string into a Size instance.