fill property
dynamic
get
fill
Gets or sets the Brush or string that describes how the geometry is filled when drawn.
The default value is "black", causing the shape to be filled with solid black. Any valid CSS string can specify a solid color, and the Brush class can be used to specify a gradient or pattern. A null fill will mean no fill is drawn and the filled portion of the Shape will not be pickable. A "transparent" fill is useful when wanting to allow a shape to be pickable without obscuring any other objects behind it. More information about the syntax of CSS color strings is available at: CSS colors (mozilla.org).
The geometry is filled before the #stroke is drawn.
Implementation
_i2.dynamic get fill => _i4.getProperty(
this,
'fill',
);
set
fill
(dynamic value)
Implementation
set fill(_i2.dynamic value) {
_i4.setProperty(
this,
'fill',
value,
);
}