Okular::Annotation::Style
#include <annotations.h>
Public Member Functions | |
Style () | |
Style (const Style &other) | |
~Style () | |
QColor | color () const |
double | effectIntensity () const |
LineEffect | lineEffect () const |
LineStyle | lineStyle () const |
int | marks () const |
double | opacity () const |
Style & | operator= (const Style &other) |
void | setColor (const QColor &color) |
void | setEffectIntensity (double intensity) |
void | setLineEffect (LineEffect effect) |
void | setLineStyle (LineStyle style) |
void | setMarks (int marks) |
void | setOpacity (double opacity) |
void | setSpaces (int spaces) |
void | setWidth (double width) |
void | setXCorners (double xCorners) |
void | setYCorners (double yCorners) |
int | spaces () const |
double | width () const |
double | xCorners () const |
double | yCorners () const |
Detailed Description
The Style class contains all information about style of the annotation.
Definition at line 323 of file annotations.h.
Constructor & Destructor Documentation
◆ Style() [1/2]
Annotation::Style::Style | ( | ) |
Creates a new style.
Definition at line 252 of file annotations.cpp.
◆ ~Style()
Annotation::Style::~Style | ( | ) |
Destroys the style.
Definition at line 257 of file annotations.cpp.
◆ Style() [2/2]
Annotation::Style::Style | ( | const Style & | other | ) |
Definition at line 262 of file annotations.cpp.
Member Function Documentation
◆ color()
QColor Annotation::Style::color | ( | ) | const |
Returns the color of the style.
Definition at line 282 of file annotations.cpp.
◆ effectIntensity()
double Annotation::Style::effectIntensity | ( | ) | const |
Returns the effect intensity of the style.
Definition at line 372 of file annotations.cpp.
◆ lineEffect()
Annotation::LineEffect Annotation::Style::lineEffect | ( | ) | const |
Returns the line effect of the style.
Definition at line 362 of file annotations.cpp.
◆ lineStyle()
Annotation::LineStyle Annotation::Style::lineStyle | ( | ) | const |
Returns the line style of the style.
Definition at line 312 of file annotations.cpp.
◆ marks()
int Annotation::Style::marks | ( | ) | const |
Returns the marks of the style.
Definition at line 342 of file annotations.cpp.
◆ opacity()
double Annotation::Style::opacity | ( | ) | const |
Returns the opacity of the style.
Definition at line 292 of file annotations.cpp.
◆ operator=()
Annotation::Style & Annotation::Style::operator= | ( | const Style & | other | ) |
Definition at line 268 of file annotations.cpp.
◆ setColor()
void Annotation::Style::setColor | ( | const QColor & | color | ) |
Sets the color
of the style.
Definition at line 277 of file annotations.cpp.
◆ setEffectIntensity()
void Annotation::Style::setEffectIntensity | ( | double | intensity | ) |
Sets the effect intensity
of the style.
Definition at line 367 of file annotations.cpp.
◆ setLineEffect()
void Annotation::Style::setLineEffect | ( | LineEffect | effect | ) |
Sets the line effect
of the style.
Definition at line 357 of file annotations.cpp.
◆ setLineStyle()
void Annotation::Style::setLineStyle | ( | LineStyle | style | ) |
Sets the line style
of the style.
Definition at line 307 of file annotations.cpp.
◆ setMarks()
void Annotation::Style::setMarks | ( | int | marks | ) |
Sets the marks
of the style.
Definition at line 337 of file annotations.cpp.
◆ setOpacity()
void Annotation::Style::setOpacity | ( | double | opacity | ) |
Sets the opacity
of the style.
Definition at line 287 of file annotations.cpp.
◆ setSpaces()
void Annotation::Style::setSpaces | ( | int | spaces | ) |
Sets the spaces
of the style.
Definition at line 347 of file annotations.cpp.
◆ setWidth()
void Annotation::Style::setWidth | ( | double | width | ) |
Sets the width
of the style.
Definition at line 297 of file annotations.cpp.
◆ setXCorners()
void Annotation::Style::setXCorners | ( | double | xCorners | ) |
Sets the x-corners of the style.
Definition at line 317 of file annotations.cpp.
◆ setYCorners()
void Annotation::Style::setYCorners | ( | double | yCorners | ) |
Sets the y-corners of the style.
Definition at line 327 of file annotations.cpp.
◆ spaces()
int Annotation::Style::spaces | ( | ) | const |
Returns the spaces of the style.
Definition at line 352 of file annotations.cpp.
◆ width()
double Annotation::Style::width | ( | ) | const |
Returns the width of the style.
Definition at line 302 of file annotations.cpp.
◆ xCorners()
double Annotation::Style::xCorners | ( | ) | const |
Returns the x-corners of the style.
Definition at line 322 of file annotations.cpp.
◆ yCorners()
double Annotation::Style::yCorners | ( | ) | const |
Returns the y-corners of the style.
Definition at line 332 of file annotations.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.