toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
MSizeInt
MSize
Int
inline
class
MSizeInt
(
val
float
:
MSize
)
Deprecated
Use SizeInt instead
Members
Members & Extensions
Constructors
MSize
Int
Link copied to clipboard
constructor
(
float
:
MSize
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
float
Link copied to clipboard
val
float
:
MSize
height
Link copied to clipboard
var
height
:
Int
immutable
Link copied to clipboard
val
immutable
:
SizeInt
width
Link copied to clipboard
var
width
:
Int
Functions
anchored
In
Link copied to clipboard
fun
anchoredIn
(
container
:
MRectangleInt
,
anchor
:
Anchor
,
out
:
MRectangleInt
=
MRectangleInt()
)
:
MRectangleInt
as
Double
Link copied to clipboard
fun
MSizeInt
.
asDouble
(
)
:
MSize
clone
Link copied to clipboard
fun
clone
(
)
:
MSizeInt
contains
Link copied to clipboard
operator
fun
contains
(
v
:
MSizeInt
)
:
Boolean
get
Anchor
Position
Link copied to clipboard
fun
getAnchorPosition
(
anchor
:
Anchor
,
out
:
MPointInt
=
MPointInt(0, 0)
)
:
MPointInt
set
To
Link copied to clipboard
fun
setTo
(
that
:
MSizeInt
)
:
MSizeInt
fun
setTo
(
that
:
SizeInt
)
:
MSizeInt
fun
setTo
(
width
:
Int
,
height
:
Int
)
:
MSizeInt
set
To
Scaled
Link copied to clipboard
fun
setToScaled
(
sx
:
Double
,
sy
:
Double
)
:
MSizeInt
fun
setToScaled
(
sx
:
Float
,
sy
:
Float
)
:
MSizeInt
fun
setToScaled
(
sx
:
Int
,
sy
:
Int
)
:
MSizeInt
times
Link copied to clipboard
operator
fun
times
(
v
:
Double
)
:
MSizeInt
operator
fun
times
(
v
:
Float
)
:
MSizeInt
operator
fun
times
(
v
:
Int
)
:
MSizeInt
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String