if (do_name() != 'Home') : ?>
endif ?>
Posted by Tom on Mar 30, 2007
include("util/comment.php"); ?>
stroke()'s opacity param
Posted by Tom on Mar 29, 2007 Hi,
I'm new to NodeBox, thoroughy enjoying it so far.
I've been messing with the "Balls" example and tried to extend it a tiny bit to get a feel for the language and possibilities.
I tried giving the balls on the front grid an interesting "stroke".
I've run in to a small problem with
stroke
's alpha/opacity parameter... when I enter a value for a, for example:
stroke
(0.15,0.1,0.3, a=0.3) I get an error message:TypeError: stroke() got an unexpected keyword argument 'a'
From looking at the reference page [http://nodebox.net/code/index.php/Reference_|_stroke()] I think my syntax is correct, but I'm not getting the expected results... What am I doing wrong here?
Thanks!
Posted by Tom on Mar 30, 2007
Ah, I see! Thanks for your help.
Posted by Tom De Smedt on Mar 29, 2007
Hi Tom,
Just leave out the "a=".
The documentation was kinda fuzzy here.