A Stroke specifies the appearance of a linear geometry.  
 More...
#include <Stroke.h>
A Stroke specifies the appearance of a linear geometry. 
It is defined in parallel with SVG strokes. There are three basic types of strokes: 
If neither a GraphicFill nor GraphicStroke element is given, then the line Symbolizer will render a solid color.
- See also
 - LineSymbolizer, Graphic, GraphicStroke, Mark 
 
Definition at line 67 of file Stroke.h.
 
◆ Stroke()
      
        
          | te::se::Stroke::Stroke  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~Stroke()
      
        
          | te::se::Stroke::~Stroke  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ add()
Add a SvgParameter to this Stroke. 
- Note
 - If there is already a SvgParamater with the same name it will be overrided. 
 
- 
The Stroke object will take the ownership of the informed p pointer. 
 
 
 
◆ clone()
      
        
          | Stroke * te::se::Stroke::clone  | 
          ( | 
           | ) | 
           const | 
        
      
 
It creates a new copy of this object. 
 
 
◆ getColor()
◆ getDashArray()
◆ getDashOffset()
      
        
          | const SvgParameter * te::se::Stroke::getDashOffset  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getGraphicFill()
      
        
          | const Graphic * te::se::Stroke::getGraphicFill  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the GraphicFill element associate to this Stroke. 
- Returns
 - The GraphicFill element. 
 
 
 
◆ getGraphicStroke()
◆ getLineCap()
◆ getLineJoin()
◆ getOpacity()
◆ getParameter()
  
  
      
        
          | const SvgParameter * te::se::Stroke::getParameter  | 
          ( | 
          const std::string &  | 
          name | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ getWidth()
◆ setColor()
      
        
          | void te::se::Stroke::setColor  | 
          ( | 
          const std::string &  | 
          color | ) | 
           | 
        
      
 
 
◆ setDashArray()
      
        
          | void te::se::Stroke::setDashArray  | 
          ( | 
          const std::string &  | 
          dasharray | ) | 
           | 
        
      
 
 
◆ setDashOffset()
      
        
          | void te::se::Stroke::setDashOffset  | 
          ( | 
          const std::string &  | 
          offset | ) | 
           | 
        
      
 
 
◆ setGraphicFill()
      
        
          | void te::se::Stroke::setGraphicFill  | 
          ( | 
          Graphic *  | 
          fill | ) | 
           | 
        
      
 
Sets the GraphicFill element to this Stroke. GraphicFill defines that the pixels of the line will be drawn repeating an area-fill pattern. 
- Note
 - The Stroke object will take the ownership of the informed fill pointer. 
 
 
 
◆ setGraphicStroke()
Sets the GraphicStroke element to this Stroke. GraphicStroke defines that a repeated linear graphic is plotted linearly and has its graphic bent around the curves of the line string. 
- Note
 - The Stroke object will take the ownership of the informed stroke pointer. 
 
 
 
◆ setLineCap()
      
        
          | void te::se::Stroke::setLineCap  | 
          ( | 
          const std::string &  | 
          cap | ) | 
           | 
        
      
 
 
◆ setLineJoin()
      
        
          | void te::se::Stroke::setLineJoin  | 
          ( | 
          const std::string &  | 
          join | ) | 
           | 
        
      
 
 
◆ setOpacity()
      
        
          | void te::se::Stroke::setOpacity  | 
          ( | 
          const std::string &  | 
          opacity | ) | 
           | 
        
      
 
 
◆ setParameter()
  
  
      
        
          | void te::se::Stroke::setParameter  | 
          ( | 
          const std::string &  | 
          name,  | 
         
        
           | 
           | 
          const std::string &  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
◆ setWidth()
      
        
          | void te::se::Stroke::setWidth  | 
          ( | 
          const std::string &  | 
          width | ) | 
           | 
        
      
 
 
◆ m_fill
The GraphicFill both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic. (Optional) 
Definition at line 169 of file Stroke.h.
 
 
◆ m_stroke
The GraphicStroke both indicates that a repeated-linear-graphic stroke type will be used. (Optional) 
Definition at line 170 of file Stroke.h.
 
 
◆ m_svgParams
  
  
      
        
          | std::map<std::string, SvgParameter*> te::se::Stroke::m_svgParams | 
         
       
   | 
  
private   | 
  
 
 
◆ sm_dasharray
  
  
      
        
          | const std::string te::se::Stroke::sm_dasharray | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-dasharray" parameter. 
Definition at line 178 of file Stroke.h.
 
 
◆ sm_dashoffset
  
  
      
        
          | const std::string te::se::Stroke::sm_dashoffset | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-dashoffset" parameter. 
Definition at line 179 of file Stroke.h.
 
 
◆ sm_linecap
  
  
      
        
          | const std::string te::se::Stroke::sm_linecap | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-linecap" parameter. 
Definition at line 177 of file Stroke.h.
 
 
◆ sm_linejoin
  
  
      
        
          | const std::string te::se::Stroke::sm_linejoin | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-linejoin" parameter. 
Definition at line 176 of file Stroke.h.
 
 
◆ sm_opacity
  
  
      
        
          | const std::string te::se::Stroke::sm_opacity | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-opacity parameter. 
Definition at line 174 of file Stroke.h.
 
 
◆ sm_stroke
  
  
      
        
          | const std::string te::se::Stroke::sm_stroke | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke" parameter. 
Definition at line 173 of file Stroke.h.
 
 
◆ sm_width
  
  
      
        
          | const std::string te::se::Stroke::sm_width | 
         
       
   | 
  
staticprivate   | 
  
 
SVG/CSS "stroke-width" parameter. 
Definition at line 175 of file Stroke.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/Stroke.h