Share via


PenSettings.EndCap Property

Definition

Gets or sets the cap style used at the end of lines drawn with this PenStyleSetInfo object. Only allows the change if the property is not immutable and sets the override flags appropriately.

public:
 property System::Drawing::Drawing2D::LineCap EndCap { System::Drawing::Drawing2D::LineCap get(); void set(System::Drawing::Drawing2D::LineCap value); };
public System.Drawing.Drawing2D.LineCap EndCap { get; set; }
member this.EndCap : System.Drawing.Drawing2D.LineCap with get, set
Public Property EndCap As LineCap

Property Value

A LineCap enumeration that represents the cap style used at the end of lines drawn with this PenStyleSetInfo object.

Applies to