Pen.Pen
Pen(Color)
の新しいインスタンスを初期化しますPen
指定された色のクラス.
関連項目
Pen(Color, float)
の新しいインスタンスを初期化しますPen
指定されたクラスColor
とWidth
プロパティ.
public Pen(Color color, float width)
パラメータ | タイプ | 説明 |
---|
color | Color | あColor この色を示す構造Pen . |
width | Single | この幅を示す値Pen . |
関連項目
Pen(Brush)
の新しいインスタンスを初期化しますPen
指定されたクラスBrush
.
パラメータ | タイプ | 説明 |
---|
brush | Brush | あBrush これは、この塗りつぶしプロパティを決定しますPen . |
例外
例外 | 調子 |
---|
ArgumentNullException | brush無効である。 |
関連項目
Pen(Brush, float)
の新しいインスタンスを初期化しますPen
指定されたクラスBrush
とWidth
.
public Pen(Brush brush, float width)
パラメータ | タイプ | 説明 |
---|
brush | Brush | あBrush これの特性を決定するPen . |
width | Single | 新品の幅Pen . |
例外
例外 | 調子 |
---|
ArgumentNullException | brush無効である。 |
関連項目