printer_create_brush

(PHP 4 >= 4.0.4)

printer_create_brush -- Create a new brush

Description

mixed printer_create_brush (int style, string color)

The function creates a new brush and returns a handle to it. A brush is used to fill shapes. For an example see printer_select_brush(). color must be a color in RGB hex format, i.e. "000000" for black, style must be one of the following constants: