System::Drawing::Drawing2D::GraphicsPath::AddLine メソッド

GraphicsPath::AddLine(const Point&, const Point&) method

指定された直線を、現在のオブジェクトが表すパスに追加します。

void System::Drawing::Drawing2D::GraphicsPath::AddLine(const Point &pt1, const Point &pt2)
パラメーター説明
pt1const Point&追加する線の開始点
pt2const Point&追加する線の終了点

参照

GraphicsPath::AddLine(const PointF&, const PointF&) method

指定された直線を、現在のオブジェクトが表すパスに追加します。

void System::Drawing::Drawing2D::GraphicsPath::AddLine(const PointF &pt1, const PointF &pt2)
パラメーター説明
pt1const PointF&追加する線の開始点
pt2const PointF&追加する線の終了点

参照

GraphicsPath::AddLine(float, float, float, float) method

指定された直線を、現在のオブジェクトが表すパスに追加します。

void System::Drawing::Drawing2D::GraphicsPath::AddLine(float x1, float y1, float x2, float y2)
パラメーター説明
x1単精度浮動小数点数追加する線の開始点のX座標
y1単精度浮動小数点数追加する線の開始点のY座標
x2単精度浮動小数点数追加する線の終了点のX座標
y2単精度浮動小数点数追加する線の終了点のY座標

参照

GraphicsPath::AddLine(int, int, int, int) method

指定された直線を、現在のオブジェクトが表すパスに追加します。

void System::Drawing::Drawing2D::GraphicsPath::AddLine(int x1, int y1, int x2, int y2)
パラメーター説明
x1int追加する線の開始点のX座標
y1int追加する線の開始点のY座標
x2int追加する線の終了点のX座標
y2int追加する線の終了点のY座標

参照