SetFillColour()

Syntax:

SetFillColour( Colour, Transparency )

SetFillColour( Red, Green, Blue, Transparency )

Parameters:

Colour – the colour for the fill colour of the specified polygon. 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.

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 percentage ranging from 0 = opaque (solid) to 100 = transparent.

This parameter is optional. If it is omitted then the fill transparency is unchanged.

Remarks:

This function will set the fill colour of a specified polygon to the new colour entered in Colour.

Note:
This function will only change the fill colour of a polygon created with the Vector tool or a vector that has been imported into Opus.

image\Script_Button.jpgExamples