Home > PHP > Function > Printer > printer_select_brush()

printer_select_brush()

printer_select_brush - Select a brush

Syntax

printer_select_brush (resource $printer_handle, resource $brush_handle)

Arguments

  • printer_handle - printer_handle must be a valid printer handle.
  • brush_handle - brush_handle must be a valid brush handle.

Description

The function selects a brush as the active drawing object of the actual device context. A brush is used to fill shapes. If you draw an rectangle the brush is used to draw the shapes, while the pen is used to draw the border.

Version

PHP PECL printer SVN

Return value

No value is returned.