createSolidFill ([alpha : number], red : number, green : number, blue : number) : nodeset

This method serves for the creation of a full colour for filling drawing elements such as rectangles, polygons or others. These elements can be created with the methods of the Canvas Library. Calling the method is possible with the parameters “alpha”, “red”, “green” and “blue” as well as with the individual parameter “color”.

In the following example, a full colour of the colour red is created.

<xsl:variable name="workspace" select="is:createSolidFill(0,255,0,0)" />