mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
arrange operations into folders in line with grouping from the specification and start creating a context to mutate through operations.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace UglyToad.Pdf.Graphics.Operations.TextShowing
|
||||
{
|
||||
internal class MoveToNextLineShowTextWithSpacing : IGraphicsStateOperation
|
||||
{
|
||||
public const string Symbol = "\"";
|
||||
|
||||
public string Operator => Symbol;
|
||||
|
||||
public decimal WordSpacing { get; }
|
||||
|
||||
public decimal CharacterSpacing { get; }
|
||||
|
||||
public string Text { get; }
|
||||
|
||||
public MoveToNextLineShowTextWithSpacing(decimal wordSpacing, decimal characterSpacing, string text)
|
||||
{
|
||||
WordSpacing = wordSpacing;
|
||||
CharacterSpacing = characterSpacing;
|
||||
Text = text;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{WordSpacing} {CharacterSpacing} {Text} {Symbol}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user