Strata
Toggle table of contents
0.2.0
common
Target filter
common
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.