toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.slice
/
RectSlice
/
sliceWithSize
slice
With
Size
fun
sliceWithSize
(
x
:
Int
,
y
:
Int
,
width
:
Int
,
height
:
Int
,
name
:
String
?
=
null
,
clamped
:
Boolean
=
true
,
orientation
:
SliceOrientation
=
this.orientation
)
:
RectSlice
<
T
>