VDashPattern Class Reference
#include <vdashpattern.h>
Public Member Functions | |
| VDashPattern (double dashOffset=0.0) | |
| const TQValueList< float > & | array () const |
| void | setArray (const TQValueList< float > &array) |
| float | offset () const |
| void | setOffset (float offset) |
| void | save (TQDomElement &element) const |
| void | load (const TQDomElement &element) |
Detailed Description
The dash pattern consistes of a sequence of on/off values.
For example 10 5 5 10 would result in a dash of 10 pixels, next 5 pixels no dash, then 5 pixels of dashing, finally 10 pixels of no dash. This sequence is repeated until the whole outline is dashed.
Also it supports an offset value for when to start the dashing.
Default is no dashes.
Definition at line 40 of file vdashpattern.h.
Constructor & Destructor Documentation
◆ VDashPattern()
| VDashPattern::VDashPattern | ( | double | dashOffset = 0.0 | ) |
Definition at line 24 of file vdashpattern.cpp.
Member Function Documentation
◆ array()
|
inline |
Definition at line 45 of file vdashpattern.h.
◆ load()
| void VDashPattern::load | ( | const TQDomElement & | element | ) |
Definition at line 53 of file vdashpattern.cpp.
◆ offset()
|
inline |
Definition at line 50 of file vdashpattern.h.
◆ save()
| void VDashPattern::save | ( | TQDomElement & | element | ) | const |
Definition at line 30 of file vdashpattern.cpp.
◆ setArray()
|
inline |
Definition at line 46 of file vdashpattern.h.
◆ setOffset()
|
inline |
Definition at line 51 of file vdashpattern.h.
The documentation for this class was generated from the following files:
