toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector
/
SizedDrawable
Sized
Drawable
interface
SizedDrawable
:
Drawable
Inheritors
BoundsDrawable
GraphicsPath
SVG
Members
Members & Extensions
Properties
height
Link copied to clipboard
abstract
val
height
:
Int
width
Link copied to clipboard
abstract
val
width
:
Int
Functions
draw
Link copied to clipboard
abstract
fun
draw
(
c
:
Context2d
)
draw
Link copied to clipboard
fun
<
T
:
Bitmap
>
Drawable
.
draw
(
out
:
T
)
:
T
filled
Link copied to clipboard
fun
SizedDrawable
.
filled
(
paint
:
Paint
)
:
SizedDrawable
raster
Link copied to clipboard
fun
SizedDrawable
.
raster
(
scaleX
:
Double
=
1.0
,
scaleY
:
Double
=
scaleX
)
:
NativeImage
render
Link copied to clipboard
fun
SizedDrawable
.
render
(
)
:
NativeImage
fun
SizedDrawable
.
render
(
native
:
Boolean
)
:
Bitmap
render
No
Native
Link copied to clipboard
fun
SizedDrawable
.
renderNoNative
(
)
:
Bitmap32
render
To
Link copied to clipboard
fun
Drawable
.
renderTo
(
ctx
:
Context2d
)
render
To
Image
Link copied to clipboard
fun
Drawable
.
renderToImage
(
width
:
Int
,
height
:
Int
)
:
NativeImage
fun
Drawable
.
renderToImage
(
width
:
Int
,
height
:
Int
,
native
:
Boolean
)
:
Bitmap
scaled
Link copied to clipboard
fun
SizedDrawable
.
scaled
(
sx
:
Number
=
1.0
,
sy
:
Number
=
sx
)
:
SizedDrawable
show
Image
And
Wait
Link copied to clipboard
suspend
fun
SizedDrawable
.
showImageAndWait
(
kind
:
Int
=
0
)
to
Shape
Link copied to clipboard
fun
SizedDrawable
.
toShape
(
)
:
Shape
fun
Drawable
.
toShape
(
width
:
Int
,
height
:
Int
)
:
Shape
to
Svg
Link copied to clipboard
fun
SizedDrawable
.
toSvg
(
scale
:
Double
=
1.0
)
:
Xml
fun
Drawable
.
toSvg
(
width
:
Int
,
height
:
Int
,
scale
:
Double
=
1.0
)
:
Xml
translated
Link copied to clipboard
fun
SizedDrawable
.
translated
(
tx
:
Number
=
0.0
,
ty
:
Number
=
tx
)
:
SizedDrawable