SystemPens.FromSystemColor(Color) 方法

定义

从指定的 Pen 创建 Color

public:
 static System::Drawing::Pen ^ FromSystemColor(System::Drawing::Color c);
public static System.Drawing.Pen FromSystemColor (System.Drawing.Color c);
static member FromSystemColor : System.Drawing.Color -> System.Drawing.Pen
Public Shared Function FromSystemColor (c As Color) As Pen

参数

c
Color

PenColor

返回

Pen

此方法创建的 Pen

适用于