Size

open class Size

Class for describing width and height dimensions.

Constructors

Size
Link copied to clipboard
open fun Size(width: Int, height: Int)
Create a new immutable Size instance.

Functions

equals
Link copied to clipboard
open fun equals(obj: Any): Boolean
Check if this size is equal to another size.
hashCode
Link copied to clipboard
open fun hashCode(): Int
{@inheritDoc}
toString
Link copied to clipboard
open fun toString(): String
Return the size represented as a string with the format

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