Pen.EndCap

Pen.EndCap property

Gets or sets the cap style used at the end of lines drawn with this Pen.

public LineCap EndCap { get; set; }

Property Value

One of the LineCap values that represents the cap style used at the end of lines drawn with this Pen.

Exceptions

exceptioncondition
ArgumentExceptionThe EndCap property is set on an immutable Pen, such as those returned by the Pen class.

See Also