Cloning is a special way to copy an object. The cloned copy retains a link to the original object so if that object is changed, the clone will change in the same way. The copies, however, can be transformed (moved, scaled, rotated, and skewed) independently. Technically, the cloning is achieved through the use of the SVG «use» object type.
The style (color, fill pattern, etc.) of the clones can be changed independently but only if the style of the cloned object is Unset. See la sezione chiamata «Fill and Stroke Paint» in Capitolo 10, Attributes.
Only a single object can be cloned at a time. If more than one object needs to be cloned, then those objects can be placed into a Gruppo.
The original may be cloned any number of times. It is also possible to clone a clone. In this case, changing the original will change both clones while changing the first clone will only change the second clone. It is not possible, however, to set the Attributes independently with multiple layers of cloning.
Inkscape includes the Crea Cloni in Serie dialog for creating a set of cloned object that are automatically placed via tiling algorithms. This dialog is very powerful and is sufficiently complex that it deserves its own chapter. See Capitolo 16, Tiling , for more information.
The following commands are available for working with clones (Clone and Unlink Clone are also located in the Barra dei Comandi).
Alt+D): Clone object. Clone is placed exactly over original.→ → (
Shift+Alt+D): Remove link between clone and original object. Clone will no longer update when original object is modified.→ → (
What happens when you move a cloned object? By default, the clones don't move. This is so that if you select a object that was cloned and one of its clones, the two will move together as expected. In the Preferenze di Inkscape dialog under the Clone section, you can change this behavior so that if a cloned object is moved, its clones also move. But in this case, if you select a cloned object and one of its clones, then move them, the clone will move «twice» as far... once because the cloned object moved and once because the clone itself was moved. Things can get really strange if you move a cloned object that has been cloned and that clone has been cloned!
|© 2005-2008 Tavmjong Bah.||Get the book.|