System::Drawing::Pen::Pen コンストラクタ

Pen::Pen(const Color&) constructor

指定された色を表す新しい Pen オブジェクトを構築します。

System::Drawing::Pen::Pen(const Color &color)
パラメーター説明
colorconst Color&構築中のオブジェクトが表すペンの色

参照

Pen::Pen(const Color&, float) constructor

指定された色と幅を表す新しい Pen オブジェクトを構築します。

System::Drawing::Pen::Pen(const Color &color, float width)
パラメーター説明
colorconst Color&構築中のオブジェクトが表すペンの色
width単精度浮動小数点数構築中のオブジェクトが表すペンの幅

参照

Pen::Pen(const SharedPtr<Brush>&) constructor

指定された Brush オブジェクトで初期化された新しい Pen オブジェクトを構築します。

System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush)
パラメーター説明
brushconst SharedPtr<Brush>&構築中のオブジェクトが表すペンの塗りつぶしプロパティを指定する Brush オブジェクト

参照

Pen::Pen(const SharedPtr<Brush>&, float) constructor

指定された Brush オブジェクトで初期化された新しい Pen オブジェクトを構築します。

System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush, float width)
パラメーター説明
brushconst SharedPtr<Brush>&構築中のオブジェクトが表すペンの塗りつぶしプロパティを指定する Brush オブジェクト
width単精度浮動小数点数構築中のオブジェクトが表すペンの幅

参照