Fill
FormatProperties
.
Background
Fill color inside the border.
Example 1
Example
=
Canvas
(1", 1", 2) {
Background
:
Colors
.
Blue
;
TextColor
:
Colors
.
White
;
"Solid"
;
};
Solid
Example 2
Example2
=
Canvas
(1", 1", 2) {
Background
:
new
RadialGradient
(0.25, 0.5, 0.5, 0.75, 1.2, 0.5, [
new
(0,
Colors
.
Red
),
new
(0.2,
Colors
.
Yellow
),
new
(1,
Colors
.
Green
)
]);
TextColor
:
Colors
.
White
;
"Radial Gradient"
;
};
Radial Gradient