Brushes, Styles, and Tiles

GD defines four alternatives to drawing or filling shapes with simple solid colors. These special “color” variables are:

gdBrushed
gdStyled
gdStyledBrushed
gdTiled

The following three methods allow you to define the behavior of these special colors.

Get Perl Graphics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.