Strata
Toggle table of contents
0.1.6
Select version
dev
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Strata
core
/
dev.s7a.strata.runtime.render
/
DrawCommand
/
FillRectangle
Fill
Rectangle
data
class
FillRectangle
(
val
bounds
:
IntRect
,
val
color
:
ArgbColor
)
:
DrawCommand
(
source
)
Fills a rectangle with one color.
Members
Constructors
Fill
Rectangle
Link copied to clipboard
constructor
(
bounds
:
IntRect
,
color
:
ArgbColor
)
Properties
bounds
Link copied to clipboard
val
bounds
:
IntRect
the rectangle in accumulated tree coordinates.
color
Link copied to clipboard
val
color
:
ArgbColor
the fill color.