FillColor
Constructor
FillColor <id> (int red, int green, int blue)
red, green and blue must be between 0 and 255.
Or
FillColor <id> (<ColorName>)
Use a keyword between 140 color names listed here. This list respect the W3C recommendation. Keywords must be in PascalCase.
Or
FillColor <id> (#0F0F0F)
#0F0F0F is a hexadecimal number
Action
Defines a new color that will be applied to fill the next shapes.Predefined children
- IntProperty:
r, g, b
, - IntProperty:
value
for the corresponding hexadecimal value.
NoFill
Constructor
NoFill <id>
Action
Removes any fill specification for the next graphic objects.Predefined children
NoneExample
use core
use display
use gui
_main_
Component root {
Frame f ("myFrame", 0, 0, 400, 400)
OutlineColor _ (255, 0, 0)
FillColor _ (100, 150, 200)
Circle _ (100, 150, 50)
NoFill _
Circle _ (100, 300, 50)
FillColor _ (DarkGreen)
Circle _ (250, 150, 50)
FillColor _ (#8B0000)
Circle _ (250, 300, 50)
}