Creates a new LineShape with given start and end point and pen.
Namespace: TallComponents.PDF.Layout.ShapesAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public LineShape( double x1, double y1, double x2, double y2, Pen pen ) |
| Visual Basic |
|---|
Public Sub New ( _ x1 As Double, _ y1 As Double, _ x2 As Double, _ y2 As Double, _ pen As Pen _ ) |
Parameters
- x1
- Type: System..::..Double
Horizontal position of start point.
- y1
- Type: System..::..Double
Vertical position of start point.
- x2
- Type: System..::..Double
Horizontal position of end point.
- y2
- Type: System..::..Double
Vertical position of end point.
- pen
- Type: TallComponents.PDF.Layout.Pens..::..Pen
Used to draw the line.