#include <Attributes.h>
Public Member Functions | |
| Attributes () | |
| Text Attributes constructor.  More... | |
| Attributes (const std::string &family, const double pointSize=10.0, FontStyle style=NormalStyle, FontWeight weight=NormalWeight, HorizontalAlignment ha=CenterH, VerticalAlignment va=Baseline) | |
| Text Attributes constructor.  More... | |
| Attributes (const Attributes &rhs) | |
| Copy constructor.  More... | |
| TextDecoration | getDecoration () const | 
| It returns the font decoration.  More... | |
| const std::string & | getFamily () const | 
| It returns the font family.  More... | |
| HorizontalAlignment | getHorizontalAlignment () const | 
| It returns the horizontal text alignment.  More... | |
| const double & | getLetterSpacing () const | 
| It returns the letter spacing.  More... | |
| LineJustification | getLineJustification () const | 
| It returns the multi line justification.  More... | |
| const double & | getLineSpacing () const | 
| It returns the multi line spacing.  More... | |
| const double & | getPointSize () const | 
| It returns the font point size.  More... | |
| FontStyle | getStyle () const | 
| It returns the font style.  More... | |
| const std::string & | getTextColor () const | 
| It returns the text color.  More... | |
| const double & | getTextOpacity () const | 
| It returns the text opacity.  More... | |
| const std::string & | getTextStrokeColor () const | 
| It returns the text stroke color.  More... | |
| const double & | getTextStrokeOpacity () const | 
| It returns the text stroke opacity.  More... | |
| const double & | getTextStrokeWidth () const | 
| It returns the text stroke width.  More... | |
| VerticalAlignment | getVerticalAlignment () const | 
| It returns the vertical text alignment.  More... | |
| FontWeight | getWeight () const | 
| It returns the font weight.  More... | |
| const double & | getWordSpacing () const | 
| It returns the word spacing.  More... | |
| Attributes & | operator= (const Attributes &rhs) | 
| Assignment operator.  More... | |
| void | setDecoration (TextDecoration decoration) | 
| It sets the font decoration.  More... | |
| void | setFamily (const std::string &family) | 
| It sets the font family.  More... | |
| void | setHorizontalAlignment (HorizontalAlignment ha) | 
| It sets the horizontal text alignment.  More... | |
| void | setLetterSpacing (const double &spacing) | 
| It sets the letter spacing.  More... | |
| void | setLineJustification (LineJustification just) | 
| It sets the multi line justification.  More... | |
| void | setLineSpacing (const double &spacing) | 
| It sets the multi line spacing.  More... | |
| void | setPointSize (const double &ps) | 
| It sets the font point size.  More... | |
| void | setStyle (FontStyle style) | 
| It sets the font style.  More... | |
| void | setTextColor (const std::string &color) | 
| It sets the text color.  More... | |
| void | setTextOpacity (double &opacity) | 
| It sets the text opacity.  More... | |
| void | setTextStrokecolor (const std::string &color) | 
| It sets the text stroke color.  More... | |
| void | setTextStrokeOpacity (const double &opacity) | 
| It sets the text stroke opacity.  More... | |
| void | setTextStrokeWidth (const double &width) | 
| It sets the text stroke width.  More... | |
| void | setVerticalAlignment (VerticalAlignment va) | 
| It sets the vertical text alignment.  More... | |
| void | setWeight (FontWeight weight) | 
| It sets the font weight.  More... | |
| void | setWordSpacing (const double &spacing) | 
| It sets the word spacing.  More... | |
| ~Attributes () | |
| Text Element destructor.  More... | |
Private Attributes | |
| TextDecoration | m_decoration | 
| text decoration  More... | |
| std::string | m_family | 
| font family  More... | |
| std::string | m_fillColor | 
| text fill color  More... | |
| double | m_fillOpacity | 
| text fill color opacity (0..1)  More... | |
| HorizontalAlignment | m_hAlign | 
| horizontal text alignment  More... | |
| double | m_letterSpacing | 
| letter spacing (0..1)  More... | |
| LineJustification | m_multiLineJustification | 
| multi line justufucation  More... | |
| double | m_multiLineSpacing | 
| multi line spacing  More... | |
| double | m_pointSize | 
| font point size  More... | |
| std::string | m_strokeColor | 
| text stroke color  More... | |
| double | m_strokeOpacity | 
| text stroke color opacity (0..1)  More... | |
| double | m_strokeWidth | 
| text stroke width (0..1)  More... | |
| FontStyle | m_style | 
| font style  More... | |
| VerticalAlignment | m_vAlign | 
| vertical text alignment  More... | |
| FontWeight | m_weight | 
| font weight  More... | |
| double | m_wordSpacing | 
| word spacing (0..1)  More... | |
Definition at line 52 of file Attributes.h.
| te::at::Attributes::Attributes | ( | ) | 
Text Attributes constructor.
| te::at::Attributes::Attributes | ( | const std::string & | family, | 
| const double | pointSize = 10.0,  | 
        ||
| FontStyle | style = NormalStyle,  | 
        ||
| FontWeight | weight = NormalWeight,  | 
        ||
| HorizontalAlignment | ha = CenterH,  | 
        ||
| VerticalAlignment | va = Baseline  | 
        ||
| ) | 
Text Attributes constructor.
| family | The font family. | 
| pointSize | The font point size | 
| style | The font style. | 
| weight | The font weight. | 
| ha | The text horizontal alignment. | 
| va | The text vertical alignment. | 
| te::at::Attributes::Attributes | ( | const Attributes & | rhs | ) | 
Copy constructor.
| rhs | The right-hand-side copy that would be used to copy from. | 
| TextDecoration te::at::Attributes::getDecoration | ( | ) | const | 
It returns the font decoration.
| const std::string& te::at::Attributes::getFamily | ( | ) | const | 
It returns the font family.
| HorizontalAlignment te::at::Attributes::getHorizontalAlignment | ( | ) | const | 
It returns the horizontal text alignment.
| const double& te::at::Attributes::getLetterSpacing | ( | ) | const | 
It returns the letter spacing.
| LineJustification te::at::Attributes::getLineJustification | ( | ) | const | 
It returns the multi line justification.
| const double& te::at::Attributes::getLineSpacing | ( | ) | const | 
It returns the multi line spacing.
| const double& te::at::Attributes::getPointSize | ( | ) | const | 
It returns the font point size.
| FontStyle te::at::Attributes::getStyle | ( | ) | const | 
It returns the font style.
| const std::string& te::at::Attributes::getTextColor | ( | ) | const | 
It returns the text color.
| const double& te::at::Attributes::getTextOpacity | ( | ) | const | 
It returns the text opacity.
| const std::string& te::at::Attributes::getTextStrokeColor | ( | ) | const | 
It returns the text stroke color.
| const double& te::at::Attributes::getTextStrokeOpacity | ( | ) | const | 
It returns the text stroke opacity.
| const double& te::at::Attributes::getTextStrokeWidth | ( | ) | const | 
It returns the text stroke width.
| VerticalAlignment te::at::Attributes::getVerticalAlignment | ( | ) | const | 
It returns the vertical text alignment.
| FontWeight te::at::Attributes::getWeight | ( | ) | const | 
It returns the font weight.
| const double& te::at::Attributes::getWordSpacing | ( | ) | const | 
It returns the word spacing.
| Attributes& te::at::Attributes::operator= | ( | const Attributes & | rhs | ) | 
Assignment operator.
| rhs | The right-hand-side copy that would be used to copy from. | 
| void te::at::Attributes::setDecoration | ( | TextDecoration | decoration | ) | 
It sets the font decoration.
| decoration | The font decoration. | 
| void te::at::Attributes::setFamily | ( | const std::string & | family | ) | 
It sets the font family.
| family | The font family. | 
| void te::at::Attributes::setHorizontalAlignment | ( | HorizontalAlignment | ha | ) | 
It sets the horizontal text alignment.
| ha | The horizontal text alignment. | 
| void te::at::Attributes::setLetterSpacing | ( | const double & | spacing | ) | 
It sets the letter spacing.
| spacing | The letter spacing. | 
| void te::at::Attributes::setLineJustification | ( | LineJustification | just | ) | 
It sets the multi line justification.
| just | The multi line justification. | 
| void te::at::Attributes::setLineSpacing | ( | const double & | spacing | ) | 
It sets the multi line spacing.
| spacing | The multi line spacing. | 
| void te::at::Attributes::setPointSize | ( | const double & | ps | ) | 
It sets the font point size.
| ps | The font point size. | 
| void te::at::Attributes::setStyle | ( | FontStyle | style | ) | 
It sets the font style.
| style | The font style. | 
| void te::at::Attributes::setTextColor | ( | const std::string & | color | ) | 
It sets the text color.
| color | The text color. | 
| void te::at::Attributes::setTextOpacity | ( | double & | opacity | ) | 
It sets the text opacity.
| opacity | The text opacity. | 
| void te::at::Attributes::setTextStrokecolor | ( | const std::string & | color | ) | 
It sets the text stroke color.
| color | The text stroke color. | 
| void te::at::Attributes::setTextStrokeOpacity | ( | const double & | opacity | ) | 
It sets the text stroke opacity.
| opacity | The text stroke opacity. | 
| void te::at::Attributes::setTextStrokeWidth | ( | const double & | width | ) | 
It sets the text stroke width.
| width | The text stroke width. | 
| void te::at::Attributes::setVerticalAlignment | ( | VerticalAlignment | va | ) | 
It sets the vertical text alignment.
| ha | The vertical text alignment. | 
| void te::at::Attributes::setWeight | ( | FontWeight | weight | ) | 
It sets the font weight.
| weight | The font weight. | 
| void te::at::Attributes::setWordSpacing | ( | const double & | spacing | ) | 
It sets the word spacing.
| spacing | The word spacing. | 
      
  | 
  private | 
text decoration
Definition at line 290 of file Attributes.h.
      
  | 
  private | 
font family
Definition at line 286 of file Attributes.h.
      
  | 
  private | 
text fill color
Definition at line 293 of file Attributes.h.
      
  | 
  private | 
text fill color opacity (0..1)
Definition at line 294 of file Attributes.h.
      
  | 
  private | 
horizontal text alignment
Definition at line 298 of file Attributes.h.
      
  | 
  private | 
letter spacing (0..1)
Definition at line 291 of file Attributes.h.
      
  | 
  private | 
multi line justufucation
Definition at line 300 of file Attributes.h.
      
  | 
  private | 
multi line spacing
Definition at line 301 of file Attributes.h.
      
  | 
  private | 
font point size
Definition at line 287 of file Attributes.h.
      
  | 
  private | 
text stroke color
Definition at line 295 of file Attributes.h.
      
  | 
  private | 
text stroke color opacity (0..1)
Definition at line 297 of file Attributes.h.
      
  | 
  private | 
text stroke width (0..1)
Definition at line 296 of file Attributes.h.
      
  | 
  private | 
font style
Definition at line 288 of file Attributes.h.
      
  | 
  private | 
vertical text alignment
Definition at line 299 of file Attributes.h.
      
  | 
  private | 
font weight
Definition at line 289 of file Attributes.h.
      
  | 
  private | 
word spacing (0..1)
Definition at line 292 of file Attributes.h.