A Fill specifies the pattern for filling an area geometry. More...
#include <Fill.h>
  
 Public Member Functions | |
| Fill * | clone () const | 
| It creates a new copy of this object.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| Fill () | |
| It initializes a new Fill.  More... | |
| ~Fill () | |
| Destructor.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| void | 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.  More... | |
| const Graphic * | getGraphicFill () const | 
| Gets the GraphicFill element associate to this Fill.  More... | |
| void | add (SvgParameter *p) | 
| Add a SvgParameter to this Fill.  More... | |
| void | setColor (const std::string &color) | 
| void | setOpacity (const std::string &opacity) | 
| const SvgParameter * | getColor () const | 
| const SvgParameter * | getOpacity () const | 
Private Member Functions | |
| const SvgParameter * | getParameter (const std::string &name) const | 
| void | setParameter (const std::string &name, const std::string &value) | 
Private Attributes | |
| Graphic * | m_graphicFill | 
| Repeated graphic fill style. If omitted, then no fill will be rendered. (Optional)  More... | |
| std::map< std::string,  SvgParameter * >  | m_svgParams | 
| Solid color style. (Optional)  More... | |
Static Private Attributes | |
| static const std::string | sm_fill = "fill" | 
| SVG/CSS "fill" parameter.  More... | |
| static const std::string | sm_opacity = "fill-opacity" | 
| SVG/CSS "fill-opacity parameter.  More... | |
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".
| te::se::Fill::~Fill | ( | ) | 
| void te::se::Fill::add | ( | SvgParameter * | p | ) | 
Add a SvgParameter to this Fill.
Definition at line 57 of file Fill.cpp.
References te::se::SvgParameter::getName().
Referenced by clone().
| te::se::Fill * te::se::Fill::clone | ( | ) | const | 
It creates a new copy of this object.
Definition at line 86 of file Fill.cpp.
References add(), te::se::Graphic::clone(), and setGraphicFill().
Referenced by te::qt::widgets::ChartConfigurer::config(), te::qt::widgets::BasicFillPropertyItem::getFill(), te::qt::widgets::GraphicFillWidget::getFill(), te::qt::widgets::BasicFillWidget::getFill(), te::qt::widgets::ScatterStyle::getFill(), te::qt::widgets::PolygonSymbolizerProperty::onPolyGraphicChanged(), te::se::PolygonSymbolizer::PolygonSymbolizer(), te::qt::widgets::BasicFillPropertyItem::setFill(), te::qt::widgets::BasicFillWidget::setFill(), te::qt::widgets::GraphicFillWidget::setFill(), and te::se::TextSymbolizer::TextSymbolizer().
| const te::se::SvgParameter * te::se::Fill::getColor | ( | ) | const | 
Definition at line 76 of file Fill.cpp.
Referenced by te::map::GetColor(), and te::serialize::Save().
| const te::se::Graphic * te::se::Fill::getGraphicFill | ( | ) | const | 
Gets the GraphicFill element associate to this Fill.
Definition at line 52 of file Fill.cpp.
Referenced by te::map::CanvasConfigurer::config(), te::serialize::Save(), te::qt::widgets::BasicFillPropertyItem::setFill(), te::qt::widgets::BasicFillWidget::setFill(), and te::qt::widgets::GraphicFillWidget::setFill().
| const te::se::SvgParameter * te::se::Fill::getOpacity | ( | ) | const | 
Definition at line 81 of file Fill.cpp.
Referenced by te::map::GetColor(), and te::serialize::Save().
      
  | 
  private | 
| void te::se::Fill::setColor | ( | const std::string & | color | ) | 
Definition at line 66 of file Fill.cpp.
Referenced by te::se::CreateFill().
| 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.
Definition at line 46 of file Fill.cpp.
Referenced by clone(), te::se::CreateFill(), te::qt::widgets::GraphicFillWidget::GraphicFillWidget(), and te::qt::widgets::PolygonSymbolizerProperty::onPolyGraphicChanged().
| void te::se::Fill::setOpacity | ( | const std::string & | opacity | ) | 
Definition at line 71 of file Fill.cpp.
Referenced by te::se::CreateFill().
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  staticprivate | 
      
  | 
  staticprivate |