This already works?Keith Baxter wrote: ↑Fri Jul 05, 2019 7:57 pm Corjan,
Can we please have opacity for..
_fill("red",0.8)
Keith
Corjan
This already works?Keith Baxter wrote: ↑Fri Jul 05, 2019 7:57 pm Corjan,
Can we please have opacity for..
_fill("red",0.8)
Keith
Corjan, Tony,
Tony,Sling wrote: ↑Sat Jul 06, 2019 4:28 am Keith,
Do you mean a dual colour annunciatior that can be either red or yellow. Also assuming you want to do this with canvas right?
You just need an if else that either draws in red or yellow. I doubt you’ll need opacity. You must call the draw function every time the annunciation state changes so it redraws correctly each time.
Corjan,Corjan wrote: ↑Fri Jul 05, 2019 9:19 pmThis already works?Keith Baxter wrote: ↑Fri Jul 05, 2019 7:57 pm Corjan,
Can we please have opacity for..
_fill("red",0.8)
Keith
Corjan
Code: Select all
opasw=0.4
_arc(242, 180,315,317,35)
_stroke("#CDCDCD",25,opasw)
_arc(242, 180,270,272,35)
_stroke("#CDCDCD",25)
Thank you Corjan.