CustomLineCap::GetStrokeCaps Method (LineCap%, LineCap%)
.NET Framework (current version)
Gets the caps used to start and end lines that make up this custom cap.
Assembly: System.Drawing (in System.Drawing.dll)
public: void GetStrokeCaps( [OutAttribute] LineCap% startCap, [OutAttribute] LineCap% endCap )
Parameters
- startCap
-
Type:
System.Drawing.Drawing2D::LineCap%
The LineCap enumeration used at the beginning of a line within this cap.
- endCap
-
Type:
System.Drawing.Drawing2D::LineCap%
The LineCap enumeration used at the end of a line within this cap.
The following example demonstrates how to use the GetStrokeCaps method. To run this example, paste the code into a Windows Form. Handle the form's Paint event and call DrawCaps from the form's Paint event-handling method, passing e as PaintEventArgs.
.NET Framework
Available since 1.1
Available since 1.1
Show: