Tuesday, November 21, 2006

GPolygon()

v2.69 gives us possibility to fill inner area of a polyline. The syntax is like GPolyline() but with two more parameters:

new GPolygon(array_of_points, line_color, line_width, line_opacity,
fill_color, fill_opacity);

Discovered by Mike Williams. An example.

No comments: