Pen.CustomEndCap 属性

定义

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

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

属性值

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

例外

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

适用于