共用方式為


PenSettings.CustomEndCap Property

Definition

Gets or sets a custom cap to use at the end of lines drawn with this Pen object. Only allows the change if the property is not immutable and sets the override flags appropriately.

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

Property Value

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

Applies to