okular
Okular::Annotation::Style Class Reference
The Style class contains all information about style of the annotation. More...
#include <annotations.h>
Public Member Functions | |
| Style () | |
| ~Style () | |
| Style (const Style &other) | |
| Style & | operator= (const Style &other) |
| void | setColor (const QColor &color) |
| QColor | color () const |
| void | setOpacity (double opacity) |
| double | opacity () const |
| void | setWidth (double width) |
| double | width () const |
| void | setLineStyle (LineStyle style) |
| LineStyle | lineStyle () const |
| void | setXCorners (double xCorners) |
| double | xCorners () const |
| void | setYCorners (double yCorners) |
| double | yCorners () const |
| void | setMarks (int marks) |
| int | marks () const |
| void | setSpaces (int spaces) |
| int | spaces () const |
| void | setLineEffect (LineEffect effect) |
| LineEffect | lineEffect () const |
| void | setEffectIntensity (double intensity) |
| double | effectIntensity () const |
Detailed Description
The Style class contains all information about style of the annotation.
Definition at line 265 of file annotations.h.
Constructor & Destructor Documentation
| Annotation::Style::Style | ( | ) |
Creates a new style.
Definition at line 122 of file annotations.cpp.
| Annotation::Style::~Style | ( | ) |
Destroys the style.
Definition at line 127 of file annotations.cpp.
| Annotation::Style::Style | ( | const Style & | other | ) |
Definition at line 132 of file annotations.cpp.
Member Function Documentation
| QColor Annotation::Style::color | ( | ) | const |
Returns the color of the style.
Definition at line 151 of file annotations.cpp.
| double Annotation::Style::effectIntensity | ( | ) | const |
Returns the effect intensity of the style.
Definition at line 241 of file annotations.cpp.
| Annotation::LineEffect Annotation::Style::lineEffect | ( | ) | const |
Returns the line effect of the style.
Definition at line 231 of file annotations.cpp.
| Annotation::LineStyle Annotation::Style::lineStyle | ( | ) | const |
Returns the line style of the style.
Definition at line 181 of file annotations.cpp.
| int Annotation::Style::marks | ( | ) | const |
Returns the marks of the style.
Definition at line 211 of file annotations.cpp.
| double Annotation::Style::opacity | ( | ) | const |
Returns the opacity of the style.
Definition at line 161 of file annotations.cpp.
| Annotation::Style & Annotation::Style::operator= | ( | const Style & | other | ) |
Definition at line 138 of file annotations.cpp.
| void Annotation::Style::setColor | ( | const QColor & | color | ) |
Sets the color of the style.
Definition at line 146 of file annotations.cpp.
| void Annotation::Style::setEffectIntensity | ( | double | intensity | ) |
Sets the effect intensity of the style.
Definition at line 236 of file annotations.cpp.
| void Annotation::Style::setLineEffect | ( | LineEffect | effect | ) |
Sets the line effect of the style.
Definition at line 226 of file annotations.cpp.
| void Annotation::Style::setLineStyle | ( | LineStyle | style | ) |
Sets the line style of the style.
Definition at line 176 of file annotations.cpp.
| void Annotation::Style::setMarks | ( | int | marks | ) |
Sets the marks of the style.
Definition at line 206 of file annotations.cpp.
| void Annotation::Style::setOpacity | ( | double | opacity | ) |
Sets the opacity of the style.
Definition at line 156 of file annotations.cpp.
| void Annotation::Style::setSpaces | ( | int | spaces | ) |
Sets the spaces of the style.
Definition at line 216 of file annotations.cpp.
| void Annotation::Style::setWidth | ( | double | width | ) |
Sets the width of the style.
Definition at line 166 of file annotations.cpp.
| void Annotation::Style::setXCorners | ( | double | xCorners | ) |
Sets the x-corners of the style.
Definition at line 186 of file annotations.cpp.
| void Annotation::Style::setYCorners | ( | double | yCorners | ) |
Sets the y-corners of the style.
Definition at line 196 of file annotations.cpp.
| int Annotation::Style::spaces | ( | ) | const |
Returns the spaces of the style.
Definition at line 221 of file annotations.cpp.
| double Annotation::Style::width | ( | ) | const |
Returns the width of the style.
Definition at line 171 of file annotations.cpp.
| double Annotation::Style::xCorners | ( | ) | const |
Returns the x-corners of the style.
Definition at line 191 of file annotations.cpp.
| double Annotation::Style::yCorners | ( | ) | const |
Returns the y-corners of the style.
Definition at line 201 of file annotations.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference