namespace UglyToad.Pdf.Graphics.Operations.PathConstruction { using Geometry; internal class AppendStraightLineSegment : IGraphicsStateOperation { public const string Symbol = "l"; public string Operator => Symbol; public PdfPoint End { get; } public AppendStraightLineSegment(decimal x, decimal y) { End = new PdfPoint(x, y); } public override string ToString() { return $"{End.X} {End.Y} {Symbol}"; } } }