How to draw semi-transparent arrow in processing.exe -


how may draw semi-transparent arrow in processing.exe such each arrow uniform in color when on plain background?

this https://processing.org/discourse/beta/num_1219607845.html fails - shows deeper colour shaft , head overlap.

you can use beginshape() function along vertex() function draw shape want, including arrows.

here's example the reference:

beginshape(); vertex(20, 20); vertex(40, 20); vertex(40, 40); vertex(60, 40); vertex(60, 60); vertex(20, 60); endshape(close); 

you'll have figure out points need draw in order create arrow, can't using lines, since they're going overlap.

alternatively might consider creating image of arrow , drawing image instead.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -