FillColor

Constructor

FillColor <id> (int r, int g, int b)

Action

Defines a new color that will be applied to fill the next shapes.

Predefined children

  • IntProperty: r, g, b.


NoFill

Constructor

NoFill <id>

Action

Removes any fill specification for the next graphic objects.

Predefined children

None

Example


use core
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 400, 400)
  FillColor _ (100, 150, 200)
  Circle _ (200, 200, 50)
  NoFill _
  Circle _ (200, 300, 50)
}

run root
run syshook