LinePixels Enumeration
Enumerates the available patterns for drawing patterned lines.
Each is a 32-bit pattern in which each bit specifies the on- or off-state of a pixel along the line. The pattern repeats along the length of the entire line.
Members
Name |
Value |
Description |
Code0 |
|
A solid line. |
Code1 |
|
1 lit pixel followed by 7 unlit pixels: = = = |
Code2 |
|
5 lit pixels followed by 3 unlit pixels: ===== ===== ===== |
Code3 |
|
11 lit pixels followed by 5 unlit pixels: =========== =========== |
Code4 |
|
7 lit pixels followed by 4 unlit pixels followed by 1 lit pixel followed by 1 lit pixel: ======= = ======= = |
Code5 |
|
3 lit pixels followed by 5 unlit pixels: === === === |
Code6 |
|
5 lit pixels followed by 3 unlit followed by 1 lit followed by 3 unlit followed by 1 lit followed by 3 unlit: ===== = = ===== |
Code7 |
|
8 lit pixels followed by 3 unlit followed by 2 lit followed by 3 unlit: ======== == ======== |
HiddenLine |
|
2 lit pixels followed by 2 unlit pixels - default style for drawing hidden edges: == == == == |
Invalid |
|
Indicates no valid line style or none specified, depending on context. |
Invisible |
|
Barely visible - 1 lit pixel followed by 31 unlit pixels. |
Solid |
|
A solid line. |
Defined in
Last Updated: 21 November, 2024