Understanding Defs and reuseable object types

General discussions about Inkscape.
User avatar
kstingel
Posts: 62
Joined: Fri Feb 12, 2016 3:27 pm

Understanding Defs and reuseable object types

Postby kstingel » Tue Apr 26, 2016 8:17 pm

Just some observations, but they may prove helpful to others...

Pattern: re-used as a fill, can be used to fill any number of shapes - does not display when called as

Code: Select all

<use height="100%" width="100%" id="someUID" xlink:href="#def-pattern" y="0" x="0" />


Symbol: can be repeated multiple times in the document and WILL display when called as

Code: Select all

<use height="100%" width="100%" id="otherUID" xlink:href="#def-symbol" y="0" x="0" />

can easily be reused within other symbols to create more advanced symbol objects

Return to “General Discussions”