The LineCaps enumerated constant specifies the type of graphic shape to use on the end of a line drawn with a Microsoft Windows GDI+ pen. The default is Round.
BegEnum LineCaps Access(*Public)
| Member | Description | Value |
|---|---|---|
|
Arrow |
Specifies an arrow shaped cap. The center of the arrow is the last point in the line. The height of the arrow is the line width. |
3 |
|
Circle |
Specifies a circular cap. The center of the circle is the last point in the line. The diameter of the circle is the line width. |
6 |
|
Diamond |
Specifies a diamond (a square turned at 45 degrees) shaped cap. The center of the diamond is at the last point in the line. The diamond is wider than the line. |
4 |
|
Flat |
Specifies that the line ends at the last point. The end is squared off. |
2 |
|
Round |
Specifies that the line ends at the last point. The end is rounded off. |
0 |
|
Square |
Specifies a square cap. The center of the square is the last point in the line. The height and width of the square are the line width. |
1 |
|
Triangle |
Specifies a triangular cap. The base of the triangle is the last point in the line. The base of the triangle is the line width. |
5 |
Namespace: ASNA.DataGate.PrintControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: ASNA.DataGate.PrintControls (in ASNA.DataGate.PrintControls.dll)