toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.bitmap.effect
Package-level
declarations
Types
Functions
Properties
Types
Bitmap
Effect
Link copied to clipboard
data
class
BitmapEffect
(
var
blurRadius
:
Int
=
0
,
var
dropShadowX
:
Int
=
0
,
var
dropShadowY
:
Int
=
0
,
var
dropShadowRadius
:
Int
=
0
,
var
dropShadowColor
:
RGBA
=
Colors.BLACK
,
var
borderSize
:
Int
=
0
,
var
borderColor
:
RGBA
=
Colors.BLACK
)
Properties
safe
Border
Link copied to clipboard
val
BitmapEffect
?
.
safeBorder
:
Int
Functions
apply
Effect
Link copied to clipboard
fun
Bitmap32
.
applyEffect
(
effect
:
BitmapEffect
?
)
:
Bitmap32
apply
Effect
Inline
Link copied to clipboard
fun
Bitmap32
.
applyEffectInline
(
effect
:
BitmapEffect
?
)
blur
Link copied to clipboard
fun
Bitmap32
.
blur
(
r
:
Int
)
:
Bitmap32
fun
Bitmap8
.
blur
(
r
:
Int
)
:
Bitmap8
blur
Inplace
Link copied to clipboard
fun
Bitmap32
.
blurInplace
(
r
:
Int
)
fun
Bitmap8
.
blurInplace
(
r
:
Int
)
border
Link copied to clipboard
fun
Bitmap32
.
border
(
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
:
Bitmap32
border
Inline
Link copied to clipboard
fun
Bitmap32
.
borderInline
(
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
drop
Shadow
Link copied to clipboard
fun
Bitmap32
.
dropShadow
(
x
:
Int
,
y
:
Int
,
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
:
Bitmap32
drop
Shadow
Inplace
Link copied to clipboard
fun
Bitmap32
.
dropShadowInplace
(
x
:
Int
,
y
:
Int
,
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
:
Bitmap32
glow
Link copied to clipboard
fun
Bitmap32
.
glow
(
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
:
Bitmap32
glow
Inplace
Link copied to clipboard
fun
Bitmap32
.
glowInplace
(
r
:
Int
,
color
:
RGBA
=
Colors.BLACK
)
:
Bitmap32