A wrapper for QPen. More...
Public Types | |
enum | PenCapStyle { FlatCap = 0 , SquareCap = 0x10 , RoundCap = 0x20 } |
Pen cap styles. More... | |
enum | PenJoinStyle { MiterJoin = 0 , BevelJoin = 0x40 , RoundJoin = 0x80 , SvgMiterJoin = 0x100 } |
Pen join styles. More... | |
enum | PenStyle { NoPen = 0 , SolidLine = 1 , DashLine = 2 , DotLine = 3 , DashDotLine = 4 , DashDotDotLine = 5 } |
Pen styles. More... | |
Public Member Functions | |
Pen () | |
Default constructor. | |
String | toString () const |
Properties | |
Brush | brush |
The pen brush. More... | |
PenCapStyle | capStyle |
The pen cap style. More... | |
Color | color |
The pen color. More... | |
Boolean | cosmetic |
Pen is cosmetic. More... | |
PenJoinStyle | joinStyle |
The pen join style. More... | |
Number | miterLimit |
The miter limit. More... | |
PenStyle | style |
The pen style. More... | |
Number | width |
The pen width. More... | |
A wrapper for QPen.
Example use within a report:
Pen cap styles.
Pen join styles.
enum bps::Pen::PenStyle |
Pen styles.
String bps::Pen::toString | ( | ) | const |
|
readwrite |
The pen brush.
|
readwrite |
The pen cap style.
|
readwrite |
The pen color.
|
readwrite |
Pen is cosmetic.
|
readwrite |
The pen join style.
|
readwrite |
The miter limit.
|
readwrite |
The pen style.
|
readwrite |
The pen width.