This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Set the foreground color and optionally the background color for the next Canvas statements.
Syntax
n = Canvas_Color( foreground [, background])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
foreground |
Number |
No |
RGB color for foreground |
background |
Number |
No |
RGB color for background |
Remarks
If either parameter are -1, the default foreground/background color is used.
If the background parameter is -2, the background is not painted, allowing the content behind to become visible.
Otherwise, the specified RGB color is used.
Restrictions
See also
Examples