A Halo is a type of Fill that is applied to the backgrounds of font glyphs. More...
#include <Halo.h>
 Public Member Functions | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| Halo () | |
| It initializes a new Halo.  More... | |
| ~Halo () | |
| Destructor.  More... | |
Accessor methods | |
| 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... | |
| Fill * | m_fill | 
| Specifies how the hallo text area will be filled. (Optional)  More... | |
| void | setRadius (ParameterValue *radius) | 
| const ParameterValue * | getRadius () const | 
| void | setFill (Fill *fill) | 
| const Fill * | getFill () const | 
| Halo * | clone () const | 
| It creates a new copy of this object.  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::Halo | ( | ) | 
It initializes a new Halo.
| te::se::Halo::~Halo | ( | ) | 
Destructor.
| Halo* te::se::Halo::clone | ( | ) | const | 
It creates a new copy of this object.
| const Fill* te::se::Halo::getFill | ( | ) | const | 
| const ParameterValue* te::se::Halo::getRadius | ( | ) | const | 
| 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)