toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.bitmap.sdf
/
NewSDF
/
process
process
fun
process
(
bmp
:
Bitmap32
,
maxSide
:
Int
=
kotlin.math.max(bmp.width, bmp.height)
,
buffer
:
Int
=
maxSide divCeil 8
,
radius
:
Int
=
maxSide divCeil 3
,
cutoff
:
Double
=
0.5
)
:
NewSDF.Result