SetFillColour

Syntax:

SetFillColour( Colour, Transparency )

SetFillColour( Red, Green, Blue, Transparency )

Parameters:

Colour – the colour for the fill of shapes drawn in the frame using the script drawing commands. Colour can either one of:

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.

Remarks:

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.

image\Script_Button.jpgExamples