SetLineCap

Pen.SetLineCap method

Sets the values that determine the style of cap used to end lines drawn by this Pen.

public void SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
ParameterTypeDescription
startCapLineCapA LineCap that represents the cap style to use at the beginning of lines drawn with this Pen.
endCapLineCapA LineCap that represents the cap style to use at the end of lines drawn with this Pen.
dashCapDashCapA LineCap that represents the cap style to use at the beginning or end of dashed lines drawn with this Pen.

See Also