Feature #620

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

Added by Andy Dufilie almost 6 years ago. Updated almost 6 years ago.

Status:ResolvedStart date:11/02/2011
Priority:NormalDue date:
Assignee:Kyle Monico% Done:

100%

Category:-
Target version:1.0
Complexity:Low OIC Priority:
Required by:

History

#1 Updated by Andy Dufilie almost 6 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Kyle Monico almost 6 years ago

  • Status changed from Open to Resolved
  • Assignee set to Kyle Monico
  • % Done changed from 0 to 100

#3 Updated by Kyle Monico almost 6 years ago

The sessioned properties are polygonFillAlpha, polygonFillColor, lineColor, lineAlpha. The polygonFillAlpha and polygonFillColor only apply when you're in polygon drawing mode.

#4 Updated by Chris Stefanich almost 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 almost 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

#6 Updated by Chris Stefanich almost 6 years ago

Works great, thanks for the clarification!

#7 Updated by Andy Dufilie almost 6 years ago

  • Target version set to 1.0

Also available in: Atom PDF