Can't plot an outline circle using JavaScript - RealWorld forums

Log-in or register.

Can't plot an outline circle using JavaScript

John P
on July 30th 2017

I am trying to draw some fairly complicated patterns and the easiest way to do this is to use the JavaScript feature.

I can plot filled circles wherever I want, and in whatever colour I want.

When I use the command:
DrawTool.ShapeFillMode = DrawTool.SFMOutline;
then a circle is plotted with a black outline and filled with the last colour that I set. I can plot a circle outline by changing SetColor1() to have an alpha of zero, but the outline is black, and I can't change that.

I tried to use the SetColor2() method described in the help pages, but the tool reports that the method or property doesn't exist.

Page views: 762       Posts: 1      
Select background
What about ICL files?
Vista & Win 7 icons