toggle menu
korge-root
5.1.0
android
switch theme
search in API
korge-core
/
korlibs.image.format
/
AndroidContext2dRenderer
Android
Context2d
Renderer
android
class
AndroidContext2dRenderer
(
val
bmp
:
Bitmap
,
val
antialiasing
:
Boolean
)
:
Renderer
Members
Constructors
Android
Context2d
Renderer
Link copied to clipboard
android
constructor
(
bmp
:
Bitmap
,
antialiasing
:
Boolean
)
Properties
android
Matrix
Link copied to clipboard
android
var
androidMatrix
:
Matrix
antialiasing
Link copied to clipboard
android
val
antialiasing
:
Boolean
bmp
Link copied to clipboard
android
val
bmp
:
Bitmap
canvas
Link copied to clipboard
android
val
canvas
:
Canvas
debug
Link copied to clipboard
android
var
debug
:
Boolean
height
Link copied to clipboard
android
open
override
val
height
:
Int
matrix
Values
Link copied to clipboard
android
val
matrixValues
:
FloatArray
paint
Link copied to clipboard
android
val
paint
:
Paint
width
Link copied to clipboard
android
open
override
val
width
:
Int
Functions
buffering
Link copied to clipboard
android
inline
fun
<
T
>
buffering
(
callback
:
(
)
->
T
)
:
T
buffering
End
Link copied to clipboard
android
fun
bufferingEnd
(
)
buffering
Start
Link copied to clipboard
android
fun
bufferingStart
(
)
:
Int
convert
Paint
Link copied to clipboard
android
fun
convertPaint
(
c
:
Paint
,
m
:
Matrix
,
out
:
Paint
,
alpha
:
Float
)
dispose
Link copied to clipboard
android
open
fun
dispose
(
)
draw
Image
Link copied to clipboard
android
open
fun
drawImage
(
image
:
Bitmap
,
pos
:
Point
,
size
:
Size
=
image.size.toFloat()
,
transform
:
Matrix
=
Matrix.IDENTITY
)
is
Paint
Supported
Link copied to clipboard
android
open
fun
Paint
.
isPaintSupported
(
)
:
Boolean
keep
Link copied to clipboard
android
inline
fun
<
T
>
keep
(
callback
:
(
)
->
T
)
:
T
render
Link copied to clipboard
android
open
fun
render
(
state
:
Context2d.State
,
fill
:
Boolean
,
winding
:
Winding
?
=
null
)
set
To
Link copied to clipboard
android
fun
Matrix
.
setTo
(
m
:
MMatrix
)
:
Matrix
fun
Matrix
.
setTo
(
m
:
Matrix
)
:
Matrix
to
Android
Link copied to clipboard
android
fun
Matrix
.
toAndroid
(
)
:
Matrix
fun
VectorPath
.
toAndroid
(
out
:
Path
=
Path()
,
winding
:
Winding
?
)
:
Path
to
Color
Scaled
Alpha
Link copied to clipboard
android
fun
IntArrayList
.
toColorScaledAlpha
(
alpha
:
Float
)
:
IntArray
to
Float
Array
Link copied to clipboard
android
fun
DoubleArrayList
.
toFloatArray
(
)
:
FloatArray
to
Tile
Mode
Link copied to clipboard
android
fun
CycleMethod
.
toTileMode
(
)
:
Shader.TileMode
with
Scaled
Alpha
Link copied to clipboard
android
fun
RGBA
.
withScaledAlpha
(
scale
:
Float
)
:
RGBA