Matrix1 Utility Plug-ins

FILL


Syntax

FILL x, y, Fill Colour
FILL x, y, Fill Colour, Border Colour

Description

This command is used to fill or paint an existing shape with the specified colour.

The first form of the command will replace the shape defined by the colour found at the coordinate specified with the specified fill colour.
This is generally known as a flood-fill.

The second form of the command will fill the area bounded by the border colour with the specified fill colour.
This is generally known as a boundary-fill.
The search for the border colour is carried out excluding alpha values of the colour. This limitation is because there are graphics cards that will not pass back an alpha value for non-alpha bitmaps, and others that do.

Go back to ...

Matrix1Util_30 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011