toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Vector2I
Vector2I
data
class
Vector2I
(
val
x
:
Int
,
val
y
:
Int
)
Members
Members & Extensions
Constructors
Vector2I
Link copied to clipboard
constructor
(
)
constructor
(
x
:
Int
,
y
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
mutable
Link copied to clipboard
val
Vector2I
.
mutable
:
MPointInt
x
Link copied to clipboard
val
x
:
Int
y
Link copied to clipboard
val
y
:
Int
Functions
div
Link copied to clipboard
operator
fun
div
(
that
:
Vector2I
)
:
Vector2I
div
Link copied to clipboard
operator
fun
Vector2I
.
div
(
other
:
SizeInt
)
:
Vector2I
minus
Link copied to clipboard
operator
fun
minus
(
that
:
Vector2I
)
:
Vector2I
minus
Link copied to clipboard
operator
fun
Vector2I
.
minus
(
other
:
SizeInt
)
:
Vector2I
plus
Link copied to clipboard
operator
fun
plus
(
that
:
Vector2I
)
:
Vector2I
plus
Link copied to clipboard
operator
fun
Vector2I
.
plus
(
other
:
SizeInt
)
:
Vector2I
rem
Link copied to clipboard
operator
fun
rem
(
that
:
Vector2I
)
:
Vector2I
rem
Link copied to clipboard
operator
fun
Vector2I
.
rem
(
other
:
SizeInt
)
:
Vector2I
times
Link copied to clipboard
operator
fun
times
(
that
:
Vector2I
)
:
Vector2I
times
Link copied to clipboard
operator
fun
Vector2I
.
times
(
other
:
SizeInt
)
:
Vector2I
to
Double
Link copied to clipboard
fun
Vector2I
.
toDouble
(
)
:
Vector2D
to
Float
Link copied to clipboard
fun
Vector2I
.
toFloat
(
)
:
Vector2F
to
Size
Link copied to clipboard
fun
Vector2I
.
toSize
(
)
:
SizeInt
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String