Method AppendLineTo
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AppendLineTo(PdfPoint)
Appends a straight line segment from the CurrentPosition to specified endpoint to the current path.
public void AppendLineTo(PdfPoint endpoint)
Parameters
endpoint
PdfPointThe endpoint.
Remarks
The endpoint becomes new current point.
Note that the call to this method does not place any marks on the
canvas; only the painting operators (StrokePath(),
CloseAndStrokePath(), FillPath,
FillAndStrokePath) do that.
Please use
DrawLineTo
if you want to draw a line immediately.
AppendLineTo(double, double)
Appends a straight line segment from the CurrentPosition to specified endpoint to the current path.
public void AppendLineTo(double x, double y)
Parameters
Remarks
The endpoint becomes new current point.
Note that the call to this method does not place any marks on the
canvas; only the painting operators (StrokePath(),
CloseAndStrokePath(), FillPath,
FillAndStrokePath) do that.
Please use
DrawLineTo
if you want to draw a line immediately.