toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.paint
/
BitmapFiller
Bitmap
Filler
class
BitmapFiller
:
BaseFiller
Members
Constructors
Bitmap
Filler
Link copied to clipboard
constructor
(
)
Functions
fill
Link copied to clipboard
fun
fill
(
bmp
:
Bitmap32
,
rect
:
RectangleInt
=
bmp.bounds
)
open
fun
fill
(
data
:
RgbaPremultipliedArray
,
offset
:
Int
,
x0
:
Int
,
x1
:
Int
,
y
:
Int
)
get
Color
Link copied to clipboard
fun
getColor
(
x
:
Int
,
y
:
Int
)
:
RGBAPremultiplied
open
override
fun
getColor
(
x
:
Float
,
y
:
Float
)
:
RGBAPremultiplied
lookup
Linear
Link copied to clipboard
fun
lookupLinear
(
x
:
Float
,
y
:
Float
)
:
RGBA
lookup
Nearest
Link copied to clipboard
fun
lookupNearest
(
x
:
Float
,
y
:
Float
)
:
RGBA
set
Link copied to clipboard
fun
set
(
fill
:
BitmapPaint
,
state
:
Context2d.State
)
:
BitmapFiller