toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
MSize
MSize
inline
class
MSize
(
val
p
:
MPoint
)
:
MutableInterpolable
<
MSize
>
,
Interpolable
<
MSize
>
,
Sizeable
,
MSizeable
Deprecated
Use Size instead
Members
Members & Extensions
Constructors
MSize
Link copied to clipboard
constructor
(
p
:
MPoint
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
area
Link copied to clipboard
val
area
:
Double
height
Link copied to clipboard
var
height
:
Double
immutable
Link copied to clipboard
val
MSize
.
immutable
:
Size
max
Link copied to clipboard
val
max
:
Double
min
Link copied to clipboard
val
min
:
Double
m
Size
Link copied to clipboard
open
override
val
mSize
:
MSize
p
Link copied to clipboard
val
p
:
MPoint
perimeter
Link copied to clipboard
val
perimeter
:
Double
size
Link copied to clipboard
open
override
val
size
:
Size
width
Link copied to clipboard
var
width
:
Double
Functions
as
Int
Link copied to clipboard
fun
MSize
.
asInt
(
)
:
MSizeInt
clone
Link copied to clipboard
fun
clone
(
)
:
MSize
copy
Link copied to clipboard
fun
copy
(
)
:
MSize
interpolate
With
Link copied to clipboard
open
override
fun
interpolateWith
(
ratio
:
Ratio
,
other
:
MSize
)
:
MSize
set
To
Link copied to clipboard
fun
setTo
(
that
:
MSize
)
:
MSize
fun
setTo
(
that
:
Size
)
:
MSize
fun
setTo
(
width
:
Double
,
height
:
Double
)
:
MSize
fun
setTo
(
width
:
Float
,
height
:
Float
)
:
MSize
fun
setTo
(
width
:
Int
,
height
:
Int
)
:
MSize
set
To
Interpolated
Link copied to clipboard
open
override
fun
setToInterpolated
(
ratio
:
Ratio
,
l
:
MSize
,
r
:
MSize
)
:
MSize
set
To
Scaled
Link copied to clipboard
fun
setToScaled
(
sx
:
Double
,
sy
:
Double
)
:
MSize
fun
setToScaled
(
sx
:
Float
,
sy
:
Float
)
:
MSize
fun
setToScaled
(
sx
:
Int
,
sy
:
Int
)
:
MSize
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String