|
|
An SVG pattern can be defined with the following SVG snippet:
<defs> <pattern width="80" height="80" patternUnits="userSpaceOnUse"> <!-- specify element definitions --> </pattern> </defs>
An SVG clipPath element can be defined with the following SVG snippet:
<defs> <clipPath clipPathUnits="userSpaceOnUse"> <path d="m0,200 l100,-100 100,100 -100,100z"/> </clipPath> </defs> <!-- other code fragments --> <g transform="translate(50,50)" clip-path="url(#clipPathDefinition)" stroke="black" fill="none"> <!-- specify element definitions --> </g>
The folder for this chapter on the CD-ROM contains the following SVG documents that are required for rendering the graphics images in this chapter:
|
|