Companion

object Companion

Functions

create
Link copied to clipboard
common
fun create(width: Int, height: Int): Size
Creates a new Size using the given width (width) and height (height).
defaultGridSize
Link copied to clipboard
common
fun defaultGridSize(): Size
The default grid size is (80 * 24)
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
one
Link copied to clipboard
common
fun one(): Size
Size of (1 * 1).
toString
Link copied to clipboard
common
open fun toString(): String
unknown
Link copied to clipboard
common
fun unknown(): Size
Represents a Size which is an unknown (can be used instead of a null value).
zero
Link copied to clipboard
common
fun zero(): Size
Size of (0 * 0).

Sources

(source)
Link copied to clipboard