On the left you see different fills of the same shape (egg and star). These effects are possible thanks to fill rules on polygons.
These cases often apply to cartography with islands and "donuts" (the second example below shall only show the topological correctness of the graphic. Mouseover the areas and watch the status bar of the browser window.
Right-click, save ...
The attribute that allows this is fill-rule. It may take these values, where the first one is the default:
The appliance of these fill rules also depends on the direction of the vertices within a path. See W3C-SPEC for more detailed explanations on fill rules.
Wednesday, 02-Apr-2003 11:17:00 CEST
© carto:net (andreas neumann & andré m. winter)
original URL for reference: http://www.carto.net/papers/svg/samples/polys.shtml