System::Drawing::Drawing2D::GraphicsPath::AddLine メソッド
コンテンツ
[
隠れる
]GraphicsPath::AddLine(const Point&, const Point&) method
指定された直線を、現在のオブジェクトが表すパスに追加します。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const Point &pt1, const Point &pt2)
| パラメーター | 型 | 説明 |
|---|---|---|
| pt1 | const Point& | 追加する線の開始点 |
| pt2 | const Point& | 追加する線の終了点 |
参照
- Class Point
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
GraphicsPath::AddLine(const PointF&, const PointF&) method
指定された直線を、現在のオブジェクトが表すパスに追加します。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const PointF &pt1, const PointF &pt2)
| パラメーター | 型 | 説明 |
|---|---|---|
| pt1 | const PointF& | 追加する線の開始点 |
| pt2 | const PointF& | 追加する線の終了点 |
参照
- Class PointF
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
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座標 |
参照
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
GraphicsPath::AddLine(int, int, int, int) method
指定された直線を、現在のオブジェクトが表すパスに追加します。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(int x1, int y1, int x2, int y2)
| パラメーター | 型 | 説明 |
|---|---|---|
| x1 | int | 追加する線の開始点のX座標 |
| y1 | int | 追加する線の開始点のY座標 |
| x2 | int | 追加する線の終了点のX座標 |
| y2 | int | 追加する線の終了点のY座標 |
参照
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++