A Fill specifies the pattern for filling an area geometry.
More...
#include <Fill.h>
A Fill specifies the pattern for filling an area geometry.
Here, the SvgParameter names are "fill" instead of "stroke" and "fill-opacity" instead of "stroke-opacity".
- See also
- PolygonSymbolizer, Graphic, FillBasicColor, Mark, TextSymbolizer, Halo
Definition at line 59 of file Fill.h.
It initializes a new Fill.
Add a SvgParameter to this Fill.
- Note
- If there is already a SvgParamater with the same name it will be overrided.
-
The Fill object will take the ownership of the informed p pointer.
Fill* te::se::Fill::clone |
( |
| ) |
const |
It creates a new copy of this object.
const Graphic* te::se::Fill::getGraphicFill |
( |
| ) |
const |
Gets the GraphicFill element associate to this Fill.
- Returns
- The GraphicFill element.
const SvgParameter* te::se::Fill::getParameter |
( |
const std::string & |
name | ) |
const |
|
private |
void te::se::Fill::setColor |
( |
const std::string & |
color | ) |
|
void te::se::Fill::setGraphicFill |
( |
Graphic * |
g | ) |
|
Sets the GraphicFill element to this Fill. GraphicFill defines that the pixels of the area will be drawn repeating an area-fill pattern.
- Note
- The Fill object will take the ownership of the informed fill pointer.
void te::se::Fill::setOpacity |
( |
const std::string & |
opacity | ) |
|
void te::se::Fill::setParameter |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
private |
Graphic* te::se::Fill::m_graphicFill |
|
private |
Repeated graphic fill style. If omitted, then no fill will be rendered. (Optional)
Definition at line 125 of file Fill.h.
std::map<std::string, SvgParameter*> te::se::Fill::m_svgParams |
|
private |
Solid color style. (Optional)
Definition at line 126 of file Fill.h.
const std::string te::se::Fill::sm_fill |
|
staticprivate |
SVG/CSS "fill" parameter.
Definition at line 128 of file Fill.h.
const std::string te::se::Fill::sm_opacity |
|
staticprivate |
SVG/CSS "fill-opacity parameter.
Definition at line 129 of file Fill.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/se/Fill.h