On line guide/help

You are on page 18 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.

Index Prev. Next

Fillstyle

Set the fill style

When used in a content element, it sets the default fill style. When used in a specialized element (e.g., <box>), it sets the fill style for the element.


Parameters

Elements / attributes of the <fillstyle> / <fill> element:

<type> (string) Type of fill. Possible values are: S - Solid, G - Gradient, P - Pattern.
<color> possible alias : <color1>, <startcolor> (string) Start color of the fill. Format : #RRGGBB (the prefix # is optional). Required for solid and gradient fills.
<color2> possible alias : <endcolor> (string) End color of the fill. Format : #RRGGBB (the prefix # is optional). Optional for solid fills, required only for gradient fills.

The # prefix for the color value is optional. RR = red (in hexadecimal, from 00 to FF), GG = green (in hexadecimal, from 00 to FF), BB = blue ((in hexadecimal, from 00 to FF))