toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Scale
Scale
data
class
Scale
(
val
scaleX
:
Double
,
val
scaleY
:
Double
)
Members
Members & Extensions
Constructors
Scale
Link copied to clipboard
constructor
(
)
constructor
(
scale
:
Float
)
constructor
(
scale
:
Double
)
constructor
(
scale
:
Int
)
constructor
(
scaleX
:
Float
,
scaleY
:
Float
)
constructor
(
scaleX
:
Int
,
scaleY
:
Int
)
constructor
(
scaleX
:
Double
,
scaleY
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
avg
Link copied to clipboard
val
avg
:
Double
scale
Avg
Link copied to clipboard
val
scaleAvg
:
Double
scale
X
Link copied to clipboard
val
scaleX
:
Double
scale
Y
Link copied to clipboard
val
scaleY
:
Double
Functions
div
Link copied to clipboard
operator
fun
div
(
other
:
Scale
)
:
Scale
operator
fun
div
(
other
:
Float
)
:
Scale
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Scale
)
:
Scale
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Scale
)
:
Scale
rem
Link copied to clipboard
operator
fun
rem
(
other
:
Scale
)
:
Scale
operator
fun
rem
(
other
:
Float
)
:
Scale
times
Link copied to clipboard
operator
fun
times
(
other
:
Scale
)
:
Scale
operator
fun
times
(
other
:
Float
)
:
Scale
to
Mutable
Link copied to clipboard
fun
Scale
.
toMutable
(
out
:
MScale
=
MScale()
)
:
MScale
to
Point
Link copied to clipboard
fun
Scale
.
toPoint
(
)
:
Point
to
Vector2
Link copied to clipboard
fun
Scale
.
toVector2
(
)
:
Vector2D
to
Vector2F
Link copied to clipboard
fun
Scale
.
toVector2F
(
)
:
Vector2F
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Scale
unary
Plus
Link copied to clipboard
operator
fun
unaryPlus
(
)
:
Scale