SetLineColour( Colour, Transparency )
SetLineColour( Red, Green, Blue, Transparency )
Colour – the colour for the fill colour of the specified polygon. 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 line. Please note that this will lose all current line settings and any future calls to SetLineColour will revert to the default line style of a 1 pixel solid line. If you want to restore the line later it is better to set the line opacity to 255 rather than removing the line entirely.
Transparency – The transparency of the fill. Transparency should be a percentage ranging from 0 = opaque (solid) to 100 = transparent.
This parameter is optional. If it is omitted then the fill transparency is unchanged.
This function will set the line colour for all shapes drawn in the frame using the script drawing commands.