System::Drawing::Graphics::DrawLine method
Contents
[
Hide
]Graphics::DrawLine(const SharedPtr<Pen>&, float, float, float, float) method
Draws the specified line using the specified pen.
void System::Drawing::Graphics::DrawLine(const SharedPtr<Pen> &pen, float x1, float y1, float x2, float y2)
Parameter | Type | Description |
---|---|---|
pen | const SharedPtr<Pen>& | A Pen object that specifies graphical properties of the line to draw |
x1 | float | The X-coordinate of the first point defining the line to draw |
y1 | float | The Y-coordinate of the first point defining the line to draw |
x2 | float | The X-coordinate of the second point defining the line to draw |
y2 | float | The Y-coordinate of the second point defining the line to draw |
See Also
- Typedef SharedPtr
- Class Pen
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawLine(const SharedPtr<Pen>&, int, int, int, int) method
Draws the specified line using the specified pen.
void System::Drawing::Graphics::DrawLine(const SharedPtr<Pen> &pen, int x1, int y1, int x2, int y2)
Parameter | Type | Description |
---|---|---|
pen | const SharedPtr<Pen>& | A Pen object that specifies graphical properties of the line to draw |
x1 | int | The X-coordinate of the first point defining the line to draw |
y1 | int | The Y-coordinate of the first point defining the line to draw |
x2 | int | The X-coordinate of the second point defining the line to draw |
y2 | int | The Y-coordinate of the second point defining the line to draw |
See Also
- Typedef SharedPtr
- Class Pen
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawLine(const SharedPtr<Pen>&, Point, Point) method
Draws the specified line using the specified pen.
void System::Drawing::Graphics::DrawLine(const SharedPtr<Pen> &pen, Point pt1, Point pt2)
Parameter | Type | Description |
---|---|---|
pen | const SharedPtr<Pen>& | A Pen object that specifies graphical properties of the line to draw |
pt1 | Point | The first point defining the line to draw |
pt2 | Point | The second point defining the line to draw |
See Also
- Typedef SharedPtr
- Class Pen
- Class Point
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawLine(const SharedPtr<Pen>&, PointF, PointF) method
Draws the specified line using the specified pen.
void System::Drawing::Graphics::DrawLine(const SharedPtr<Pen> &pen, PointF pt1, PointF pt2)
Parameter | Type | Description |
---|---|---|
pen | const SharedPtr<Pen>& | A Pen object that specifies graphical properties of the line to draw |
pt1 | PointF | The first point defining the line to draw |
pt2 | PointF | The second point defining the line to draw |
See Also
- Typedef SharedPtr
- Class Pen
- Class PointF
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++