I've been playing with the Voronoi extension. I'm hoping to use it to help simulate a wrinkly leaf. But for it to work, I would need to make the strokes of the pattern much thinner, and possibly a different color than black. In the XML editor, I thought I found a way to change the color. I thought changing the style attribute color:
Code: Select all
[u]color:#000000[/u];fill:url(#pattern48050);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.05;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate
my emphasis
would work. But changing #000000 to anything else does not change the color of the pattern's stroke. Unless I did something wrong. I haven't used the XML Editor much. I simply replaced '000000' to '00ccff', then clicked the Set button. The value changed, but the color on the canvas did not. (I also tried Ctrl + Enter, per instructions in status area, with same result.)
I don't see anything there that might help me thin the stroke. The stroke value appears to change the stroke of the object, not the pattern. And I suspect that color value affects the fill, in the absence of the pattern.
In the extension dialog, there are 2 options, but they seem to only affect the size of the cells and the pattern. I read the instructions there, but can't find any combination that thins the stroke of the pattern.
So is there any way to change these things, with or without XML Editor? Short of using a Voronoi pattern and tracing over it to create a compound path, and then doing object to pattern, I can't find any way to do it.
Much later....
Well, whenever I'm about to post the phrase 'I can't find any way to do it', I always go back and try everything I can possibly think of, before I actually post it, lol. So I may have found somewhat of a workaround to the thinning stroke issue. If I make the Voronoi pattern much larger than what I need -- larger cells, like approx. 5 to 10 times larger and I need to use a much larger object as well. Then I can scale down the pattern using the pattern handles, and it does thin the stroke. Then I can use the object that's going to be filled with the pattern, and do path intersection on the larger object. The final result is a thinner stroke in the pattern. But not much thinner. I'd say it's no more than a third narrower. I need at least 2 thirds smaller.
I think tracing the Voronoi pattern to make a custom pattern would be easier. (Because there will be many leaves to cut/intersection out.) Plus I could change the color of the stroke.
Does anyone know how to change the color or thin the stroke of the Voronoi pattern (not the object)?
Thanks for your help

PS - perhaps some sort of extra XML code, that's not there yet, needs to be added in the XML Editor?
PPS - actually I thought pattern colors could be changed in the XML Editor. This wouldn't be a bug would it? I'm still using 0.48.1 on Win7, 64-bit.