Paint.Fill (gb.web.gui)

Static Sub Fill ( [ Style As Variant, Preserve As Boolean ] )

Fill the current path.

Each sub-path is implicitly closed before being filled.

The path is fill according to the Style argument, which can be:
  • An RGBA color integer.

  • A paintbrush ? brush.

  • A string value that represents the value of the fillStyle property of the javascript canvas drawing context.

If the Style argument is not specified, then the paintbrush ? property is used.

After filling, the current path will be cleared, unless the Preserve argument is set to TRUE.