A Symbology Enconding visitor that finds a color given a symbolizer element. If you want to use this visitor, use a command like: te::se::SymbolizerColorFinder scf; scf.find(symbolizer); te::color::RGBAColor color = scf.getColor();
More...
#include <SymbolizerColorFinder.h>
A Symbology Enconding visitor that finds a color given a symbolizer element. If you want to use this visitor, use a command like: te::se::SymbolizerColorFinder scf; scf.find(symbolizer); te::color::RGBAColor color = scf.getColor();
- See also
- te::se::Visitor
Definition at line 60 of file SymbolizerColorFinder.h.
◆ SymbolizerColorFinder()
te::se::SymbolizerColorFinder::SymbolizerColorFinder |
( |
| ) |
|
◆ ~SymbolizerColorFinder()
te::se::SymbolizerColorFinder::~SymbolizerColorFinder |
( |
| ) |
|
◆ find() [1/4]
It find the color based on given symbolizer.
- Parameters
-
symbolizer | The symbolizer that will be used searched. |
◆ find() [2/4]
void te::se::SymbolizerColorFinder::find |
( |
const te::se::Stroke * |
stroke | ) |
|
|
private |
Internal method that finds the color based on given Stroke element.
- Parameters
-
stroke | The Stroke element that will be used to find the color. |
◆ find() [3/4]
void te::se::SymbolizerColorFinder::find |
( |
const te::se::Fill * |
fill | ) |
|
|
private |
Internal method that finds the color based on given Fill element.
- Parameters
-
fill | The Fill element that will be used to find the color. |
◆ find() [4/4]
void te::se::SymbolizerColorFinder::find |
( |
const te::se::Mark * |
mark | ) |
|
|
private |
Internal method that finds the color based on given Mark element.
- Parameters
-
mark | The mark element that will be used to find the color. |
◆ getColor()
◆ visit() [1/9]
void te::se::SymbolizerColorFinder::visit |
( |
const te::se::Style & |
visited | ) |
|
|
virtual |
◆ visit() [2/9]
◆ visit() [3/9]
◆ visit() [4/9]
◆ visit() [5/9]
◆ visit() [6/9]
◆ visit() [7/9]
◆ visit() [8/9]
◆ visit() [9/9]
◆ m_color
The documentation for this class was generated from the following file: