Companion

object Companion

Functions

bottomLeftOf
Link copied to clipboard
common
fun bottomLeftOf(component: Component): Position
Returns the bottom left position of the given Component.
bottomRightOf
Link copied to clipboard
common
fun bottomRightOf(component: Component): Position
Returns the bottom right position of the given Component.
create
Link copied to clipboard
common
fun create(x: Int, y: Int): Position
Creates a new Position using the given x and y values.
defaultPosition
Link copied to clipboard
common
fun defaultPosition(): Position
This position can be considered as the default (0x0).
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
offset1x1
Link copied to clipboard
common
fun offset1x1(): Position
Constant for the 1x1 position (one offset in both directions from top-left)
topLeftCorner
Link copied to clipboard
common
fun topLeftCorner(): Position
Constant for the top-left corner (0x0)
topLeftOf
Link copied to clipboard
common
fun topLeftOf(component: Component): Position
Returns the top left position of the given Component.
topRightOf
Link copied to clipboard
common
fun topRightOf(component: Component): Position
Returns the top right position of the given Component.
toString
Link copied to clipboard
common
open fun toString(): String
unknown
Link copied to clipboard
common
fun unknown(): Position
Used in place of a possible null value.
zero
Link copied to clipboard
common
fun zero(): Position
Constant for the 0x0 position.

Sources

(source)
Link copied to clipboard