toggle menu
Glok
0.5.1
common
switch theme
search in API
glok-core
/
uk.co.nickthecoder.glok.backend
/
Backend
/
clip
clip
open
fun
clip
(
left
:
Float
,
top
:
Float
,
width
:
Float
,
height
:
Float
,
block
:
(
)
->
Unit
)
A convenient way to call
beginClipping
and
endClipping
, with a
block
of code in between.
open
fun
clip
(
clip
:
Boolean
,
left
:
Float
,
top
:
Float
,
width
:
Float
,
height
:
Float
,
block
:
(
)
->
Unit
)