Pen.PenType 属性

定义

获取用此 Pen 绘制的直线的样式。

public:
 property System::Drawing::Drawing2D::PenType PenType { System::Drawing::Drawing2D::PenType get(); };
public System.Drawing.Drawing2D.PenType PenType { get; }
member this.PenType : System.Drawing.Drawing2D.PenType
Public ReadOnly Property PenType As PenType

属性值

PenType 枚举,指定用此 Pen 绘制的直线的样式。

注解

Pen可以绘制实线、填充线或纹理线,具体取决于枚举成员PenType指定的样式。

适用于