toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.render
/
RenderContext2D
/
rect
rect
fun
rect
(
rect
:
Rectangle
,
color
:
RGBA
=
this.multiplyColor
,
filtering
:
Boolean
=
this.filtering
,
bmp
:
BmpSlice
=
Bitmaps.white
,
program
:
Program
?
=
null
)
Renders a colored rectangle with the
multiplyColor
with the
blendMode
at x, y of size
width
x
height