mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
21 lines
452 B
C#
21 lines
452 B
C#
|
|
namespace UglyToad.Pdf.Graphics.Operations
|
|||
|
|
{
|
|||
|
|
internal class SetWordSpacing : IGraphicsStateOperation
|
|||
|
|
{
|
|||
|
|
public const string Symbol = "Tw";
|
|||
|
|
|
|||
|
|
public string Operator => Symbol;
|
|||
|
|
|
|||
|
|
public decimal Spacing { get; }
|
|||
|
|
|
|||
|
|
public SetWordSpacing(decimal spacing)
|
|||
|
|
{
|
|||
|
|
Spacing = spacing;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override string ToString()
|
|||
|
|
{
|
|||
|
|
return $"{Spacing} {Symbol}";
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|