zircon.core
/
org.hexworks.zircon.api.data
/
Size
/
Companion
common
Companion
object
Companion
Content copied to clipboard
Functions
Sources
Functions
create
Link copied to clipboard
common
@
JvmStatic
()
fun
create
(width:
Int
, height:
Int
):
Size
Content copied to clipboard
Creates a new
Size
using the given
width
(width) and
height
(height).
defaultGridSize
Link copied to clipboard
common
@
JvmStatic
()
fun
defaultGridSize
():
Size
Content copied to clipboard
The default grid size is (80 * 24)
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
one
Link copied to clipboard
common
@
JvmStatic
()
fun
one
():
Size
Content copied to clipboard
Size of (1 * 1).
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
unknown
Link copied to clipboard
common
@
JvmStatic
()
fun
unknown
():
Size
Content copied to clipboard
Represents a
Size
which is an unknown (can be used instead of a
null
value).
zero
Link copied to clipboard
common
@
JvmStatic
()
fun
zero
():
Size
Content copied to clipboard
Size of (0 * 0).
Sources
(source)
Link copied to clipboard