Size(androidJvm)

Class for describing width and height dimensions.

open class Size(androidJvm)

Constructors

Size
Link copied to clipboard

Create a new immutable Size instance.

open fun Size(width: Int, height: Int)

Functions

equals
Link copied to clipboard

Check if this size is equal to another size.

open fun equals(obj: Any): Boolean
hashCode
Link copied to clipboard

{@inheritDoc}

open fun hashCode(): Int
toString
Link copied to clipboard

Return the size represented as a string with the format

open fun toString(): String

Properties

height
Link copied to clipboard
@IntRange(from = 0)
private val height: Int
width
Link copied to clipboard
@IntRange(from = 0)
private val width: Int