toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.utils
/
Vector2
Vector2
data
class
Vector2
(
val
x
:
Float
,
val
y
:
Float
)
(
source
)
Members
Constructors
Vector2
Link copied to clipboard
constructor
(
x
:
Float
,
y
:
Float
)
Properties
length
Link copied to clipboard
val
length
:
Float
x
Link copied to clipboard
val
x
:
Float
y
Link copied to clipboard
val
y
:
Float
Functions
distance
To
Link copied to clipboard
fun
distanceTo
(
other
:
Vector2
)
:
Float
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Vector2
)
:
Vector2
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Vector2
)
:
Vector2
times
Link copied to clipboard
operator
fun
times
(
other
:
Int
)
:
Vector2
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String