A Halo is a type of Fill that is applied to the backgrounds of font glyphs. More...
#include <Halo.h>
  
 Public Member Functions | |
| Halo * | clone () const | 
| It creates a new copy of this object.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| Halo () | |
| It initializes a new Halo.  More... | |
| ~Halo () | |
| Destructor.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| void | setRadius (ParameterValue *radius) | 
| const ParameterValue * | getRadius () const | 
| void | setFill (Fill *fill) | 
| const Fill * | getFill () const | 
Private Attributes | |
| Fill * | m_fill | 
| Specifies how the hallo text area will be filled. (Optional)  More... | |
| ParameterValue * | m_radius | 
| The Radius element gives the absolute size of a halo radius in pixels encoded as a floating-point number. The radius is taken from the outside edge of a font glyph to extend the area of coverage of the glyph (and the inside edge of 'holes' in the glyphs). The halo of a text label is considered to be a single shape. (Optional)  More... | |
A Halo is a type of Fill that is applied to the backgrounds of font glyphs.
A Halo fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background. The Radius element gives the absolute size of a halo radius in pixels encoded as a floating-point number. The radius is taken from the outside edge of a font glyph to extend the area of coverage of the glyph (and the inside edge of "holes" in the glyphs). The halo of a text label is considered to be a single shape. The default radius is one pixel. Negative values are not allowed. The default halo fill is solid white (Color "#FFFFFF"). The glyph’s fill is plotted on top of the halo. The default font fill is solid black (Color "#000000"). If no Halo is selected in the containing TextSymbolizer, then no halo will be rendered.
| te::se::Halo * te::se::Halo::clone | ( | ) | const | 
It creates a new copy of this object.
Definition at line 65 of file Halo.cpp.
References setFill(), and setRadius().
Referenced by te::se::TextSymbolizer::TextSymbolizer().
| const te::se::Fill * te::se::Halo::getFill | ( | ) | const | 
Definition at line 60 of file Halo.cpp.
Referenced by te::se::serialize::Save(), and te::map::CanvasConfigurer::visit().
| const te::se::ParameterValue * te::se::Halo::getRadius | ( | ) | const | 
Definition at line 49 of file Halo.cpp.
Referenced by te::se::serialize::Save(), and te::map::CanvasConfigurer::visit().
| void te::se::Halo::setFill | ( | Fill * | fill | ) | 
| void te::se::Halo::setRadius | ( | ParameterValue * | radius | ) | 
      
  | 
  private | 
      
  | 
  private | 
The Radius element gives the absolute size of a halo radius in pixels encoded as a floating-point number. The radius is taken from the outside edge of a font glyph to extend the area of coverage of the glyph (and the inside edge of 'holes' in the glyphs). The halo of a text label is considered to be a single shape. (Optional)