toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector
/
Context2d
/
clip
clip
fun
clip
(
path
:
VectorPath
?
=
state.path
,
winding
:
Winding
=
Winding.NON_ZERO
)
fun
clip
(
buildClipShape
:
(
)
->
Unit
,
useClipShape
:
(
)
->
Unit
)
inline
fun
clip
(
path
:
VectorPath
?
,
winding
:
Winding
=
Winding.NON_ZERO
,
block
:
(
)
->
Unit
)
inline
fun
clip
(
path
:
VectorPath
.
(
)
->
Unit
,
winding
:
Winding
=
Winding.NON_ZERO
,
block
:
(
)
->
Unit
)