Pen.CustomStartCap 属性

定义

获取或设置要在通过此 Pen 绘制的直线起点使用的自定义线帽。

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

属性值

一个 CustomLineCap,表示在通过此 Pen 绘制的直线起点使用的线帽。

例外

对不可变的 CustomStartCap(比如由 Pen 类所返回)设置 Pens 属性。

适用于