The PenStyle enumeration defines the attributes of pens that can be used in graphics operations. A pen style is a combination of pen type, line style, line cap, and line join.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| PS_SOLID | 0 | The pen is solid. | |
| PS_DASH | 1 | The pen is dashed. | |
| PS_DOT | 2 | The pen is dotted. | |
| PS_DASHDOT | 3 | The pen has alternating dashes and dots. | |
| PS_DASHDOTDOT | 4 | The pen has alternating dashes and double dots. | |
| PS_NULL | 5 | The pen is invisible. | |
| PS_INSIDEFRAME | 6 | Normally when the edge is drawn, it’s centred on the outer edge meaning that half the width of the pen is drawn outside the shape’s edge, half is inside the shape’s edge. When PS_INSIDEFRAME is specified the edge is drawn completely inside the outer edge of the shape. | |
| PS_USERSTYLE | 7 | A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line. | |
| PS_ALTERNATE | 8 | A line style in which every other pixel is set. This style is applicable only to a pen type of PS_COSMETIC. |
See Also