Pen.StartCap

Pen.StartCap property

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

public LineCap StartCap { get; set; }

Return Value

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

Exceptions

exceptioncondition
InvalidEnumArgumentExceptionThe specified value is not a member of LineCap.
ArgumentExceptionThe StartCap property is set on an immutable Pen, such as those returned by the Pens class.

See Also