CustomEndCap

Pen.CustomEndCap property

Gets or sets a custom cap to use at the end of lines drawn with this Pen.

public CustomLineCap CustomEndCap { get; set; }

Property Value

A CustomLineCap that represents the cap used at the end of lines drawn with this Pen.

Exceptions

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

See Also