Render Custom Polygons |
Custom polygons take a single brush used for fill, and a pen used for outline. Either can be null, as in the case of standard polygons.
Syntax | RENDER '[' filter{,filter}[:"<country>"{,"<country>"}] ']', brush, [, outline pen [, label]] |
Example | cam RENDER [size < 35], BRUSH<!green>, PEN<!darkgreen,1> RENDER [all:"Brazil"], BRUSH<!orange>, PEN<!black,1> |
Note |
---|
You will likely want to set the colname for any Label objects. This will default to "name" if you do not specify it. |
One or more of the polygon type filters.
An optional list of countries, separated by commas. Country names should match those in the Country enumeration, and should be listed in quotation marks. This argument limits the rendering performed by this statement to the countries specified. If no countries are specified, then the statement will render for all countries which were not matched by earlier statements.
A brush with which to fill the polygon(s).
A pen with which to draw the outline of the polygon(s). May be passed as null. Optional, defaults to null (no outline).