Feature #77: Add an interface for drawing a custom polygon mapped to data coordinates and saved in the session state
Add fill color and alpha options to session state of custom polygon
|Assignee:||Kyle Monico||% Done:|
#4 Updated by Chris Stefanich about 6 years ago
I have been trying out this feature and I see a couple of issues:
the polygonFillAlpha and lineAlpha seems to only allow a value of 1 (filled) or 0 (not filled). Can this be set to a percentage?
I tried to put in RGB values as well as HTML color codes into the polygonFillColor and lineColor and they do not work. What color values does this expect?
#5 Updated by Kyle Monico about 6 years ago
The alpha values are 0 to 1. If you want 50%, you should enter 0.5.
The color values are RGB values. You can enter hex to simplify the input. For example, 0x0 and 0x000000 are both black. 0xff0000 is red, 0x00ff00 is green, 0x0000ff is blue. 0xffffff is white