PdfPath
AddLine Method (Single, Single, Single, Single)
|
Adds a line.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void AddLine(
float x1,
float y1,
float x2,
float y2
)
Public Sub AddLine (
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single
)
public:
void AddLine(
float x1,
float y1,
float x2,
float y2
)
member AddLine :
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 -> unit
Parameters
-
x1
-
Type:
System
Single
The x1.
-
y1
-
Type:
System
Single
The y1.
-
x2
-
Type:
System
Single
The x2.
-
y2
-
Type:
System
Single
The y2.
See Also