• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • Okular
  • Annotation
  • Style
Public Member Functions | List of all members
Okular::Annotation::Style Class Reference

#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 305 of file annotations.h.

Constructor & Destructor Documentation

Annotation::Style::Style ( )

Creates a new style.

Definition at line 199 of file annotations.cpp.

Annotation::Style::~Style ( )

Destroys the style.

Definition at line 204 of file annotations.cpp.

Annotation::Style::Style ( const Style &  other)

Definition at line 209 of file annotations.cpp.

Member Function Documentation

QColor Annotation::Style::color ( ) const

Returns the color of the style.

Definition at line 228 of file annotations.cpp.

double Annotation::Style::effectIntensity ( ) const

Returns the effect intensity of the style.

Definition at line 318 of file annotations.cpp.

Annotation::LineEffect Annotation::Style::lineEffect ( ) const

Returns the line effect of the style.

Definition at line 308 of file annotations.cpp.

Annotation::LineStyle Annotation::Style::lineStyle ( ) const

Returns the line style of the style.

Definition at line 258 of file annotations.cpp.

int Annotation::Style::marks ( ) const

Returns the marks of the style.

Definition at line 288 of file annotations.cpp.

double Annotation::Style::opacity ( ) const

Returns the opacity of the style.

Definition at line 238 of file annotations.cpp.

Annotation::Style & Annotation::Style::operator= ( const Style &  other)

Definition at line 215 of file annotations.cpp.

void Annotation::Style::setColor ( const QColor &  color)

Sets the color of the style.

Definition at line 223 of file annotations.cpp.

void Annotation::Style::setEffectIntensity ( double  intensity)

Sets the effect intensity of the style.

Definition at line 313 of file annotations.cpp.

void Annotation::Style::setLineEffect ( LineEffect  effect)

Sets the line effect of the style.

Definition at line 303 of file annotations.cpp.

void Annotation::Style::setLineStyle ( LineStyle  style)

Sets the line style of the style.

Definition at line 253 of file annotations.cpp.

void Annotation::Style::setMarks ( int  marks)

Sets the marks of the style.

Definition at line 283 of file annotations.cpp.

void Annotation::Style::setOpacity ( double  opacity)

Sets the opacity of the style.

Definition at line 233 of file annotations.cpp.

void Annotation::Style::setSpaces ( int  spaces)

Sets the spaces of the style.

Definition at line 293 of file annotations.cpp.

void Annotation::Style::setWidth ( double  width)

Sets the width of the style.

Definition at line 243 of file annotations.cpp.

void Annotation::Style::setXCorners ( double  xCorners)

Sets the x-corners of the style.

Definition at line 263 of file annotations.cpp.

void Annotation::Style::setYCorners ( double  yCorners)

Sets the y-corners of the style.

Definition at line 273 of file annotations.cpp.

int Annotation::Style::spaces ( ) const

Returns the spaces of the style.

Definition at line 298 of file annotations.cpp.

double Annotation::Style::width ( ) const

Returns the width of the style.

Definition at line 248 of file annotations.cpp.

double Annotation::Style::xCorners ( ) const

Returns the x-corners of the style.

Definition at line 268 of file annotations.cpp.

double Annotation::Style::yCorners ( ) const

Returns the y-corners of the style.

Definition at line 278 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal