08.08.14, 15:24
hello,
how can i get a path with an outline and a transparent fill.
this script doesnt seem to work:
var circlePath = new Path.Circle(new Point(50, 50), 25);
circlePath.style =
{
fillColor: new RGBColor(1, 0, 0, .2),
strokeColor: new RGBColor(0, 1, 0, .1),
strokeWidth: 5
};
documentation says its possible to have alpha in colors.
but how?
http://scriptographer.org/reference/ai/rgbcolor/
thanks in advance!
eugen