PeachDrawing.PDF.PdfAnnotationAppearance
PdfAnnotationAppearance.Line(PaintPoint, PaintPoint, PaintColor, double) Method
Draws a straight line between two corners of the annotation box (Line).
public static System.Action<PeachDrawing.Core.Canvas> Line(PeachDrawing.Core.PaintPoint from, PeachDrawing.Core.PaintPoint to, PeachDrawing.Core.PaintColor color, double lineWidth=1.0);
Parameters
from PaintPoint
the start, in points from the annotation’s top-left corner
to PaintPoint
the end, in the same space
color PaintColor
the line color
lineWidth System.Double
the line width, in points