toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector
/
Bitmap32Context2d
Bitmap32Context2d
class
Bitmap32Context2d
(
val
bmp
:
Bitmap32
,
val
antialiasing
:
Boolean
)
:
Renderer
Members
Constructors
Bitmap32Context2d
Link copied to clipboard
constructor
(
bmp
:
Bitmap32
,
antialiasing
:
Boolean
)
Types
Scanline
Writer
Link copied to clipboard
inner
class
ScanlineWriter
Segment
Handler
Link copied to clipboard
class
SegmentHandler
Properties
antialiasing
Link copied to clipboard
val
antialiasing
:
Boolean
bitmap
Filler
Link copied to clipboard
val
bitmapFiller
:
BitmapFiller
bmp
Link copied to clipboard
val
bmp
:
Bitmap32
bounds
Link copied to clipboard
val
bounds
:
RectangleD
color
Filler
Link copied to clipboard
val
colorFiller
:
ColorFiller
debug
Link copied to clipboard
var
debug
:
Boolean
gradient
Filler
Link copied to clipboard
val
gradientFiller
:
GradientFiller
height
Link copied to clipboard
open
override
val
height
:
Int
rasterizer
Link copied to clipboard
val
rasterizer
:
Rasterizer
scanline
Writer
Link copied to clipboard
val
scanlineWriter
:
Bitmap32Context2d.ScanlineWriter
width
Link copied to clipboard
open
override
val
width
:
Int
Functions
buffering
Link copied to clipboard
inline
fun
<
T
>
buffering
(
callback
:
(
)
->
T
)
:
T
buffering
End
Link copied to clipboard
fun
bufferingEnd
(
)
buffering
Start
Link copied to clipboard
fun
bufferingStart
(
)
:
Int
dispose
Link copied to clipboard
open
fun
dispose
(
)
draw
Image
Link copied to clipboard
open
fun
drawImage
(
image
:
Bitmap
,
pos
:
Point
,
size
:
Size
=
image.size.toFloat()
,
transform
:
Matrix
=
Matrix.IDENTITY
)
is
Paint
Supported
Link copied to clipboard
open
fun
Paint
.
isPaintSupported
(
)
:
Boolean
render
Link copied to clipboard
open
fun
render
(
state
:
Context2d.State
,
fill
:
Boolean
,
winding
:
Winding
?
=
null
)