korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-math-vector
/
korlibs.math.geom
/
Vector2I
Vector2I
data
class
Vector2I
(
val
x
:
Int
,
val
y
:
Int
)
Members
Members & Extensions
Constructors
Vector2I
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
)
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
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