Element: fillstyle.image

Type

string

Description

The tile pattern of fillstyle. This is the name of an image file. Tiling of graphic primitives is performed after any color fill but before any hatching.

In the case of monochrome tile patterns, only the on bits of the tile pattern are displayed, using the color defined by fillstyle.tile_color. The off bits are displayed using fillstyle.color, unless that color is null in which case the tile is displayed transparent.

For full color tile patterns, transparent images use fillstyle.color as the background, unless that color is null in which case the image tile is displayed transparent.

Note: fillstyle.image and fillstyle.tile are mutually exclusive.