You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment a new texture cannot be created from another one.
The following direction has been suggest on issue #7.
var svg = d3.select("#example").append("svg");
var t1 = textures.lines().thicker();
var t2 = t1.copy().fill("red") // This creates a new texture instance
// t1 and t2 would have separate defs in the SVG
svg.call(t1);
svg.call(t2);
svg.append("circle").style("fill", t1.url());
svg.append("circle").style("fill", t2.url());
The text was updated successfully, but these errors were encountered:
At the moment a new texture cannot be created from another one.
The following direction has been suggest on issue #7.
The text was updated successfully, but these errors were encountered: