SetFillColour( Colour, Transparency )
SetFillColour( Red, Green, Blue, Transparency )
Colour – the colour for the fill of shapes drawn in the frame using the script drawing commands. Colour can either one of:
· a string One of "white", "black", "red", "green", "blue", "yellow", "cyan" or "magenta".
· a string containing a hex value (i.e. a six digit number as used in HTML) e.g. "#45B93B" – note the string must begin with the hash symbol (i.e. #).
· a single RGB value. The RGB value can be calculated using the RGB function.
or
Red, Green and Blue - three values for the amount of red, green and blue e.g. 255,0,0.
This parameter is required.
Note:
This parameter can also take the special value of -1. This removes the current fill.
Transparency – The transparency of the fill. Transparency should be a value ranging from 0 = opaque (solid) to 100 = transparent.
This parameter is optional and the default is 0.
This function will set the fill colour for all shapes drawn in the frame using the script drawing commands.
Note:
All lines and shapes added to any individual frame are created as part of a single contour (this is a single continuous line). Changing the fill colour will cause all current shapes in the frame to be updated to the new colour. To draw multiple shapes in different colours shapes, use multiple frame objects.