24 lines
587 B
C#
24 lines
587 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace EnvelopeGenerator.Web.Models.Annotation;
|
|
|
|
/// <summary>
|
|
/// The Background is an annotation for the PSPDF Kit. However, it has no function.
|
|
/// It is only the first annotation as a background for other annotations.
|
|
/// </summary>
|
|
public record Background : IAnnotation
|
|
{
|
|
[JsonIgnore]
|
|
public double Margin { get; init; }
|
|
|
|
public string Name { get; } = "Background";
|
|
|
|
public double? Width { get; set; }
|
|
|
|
public double? Height { get; set; }
|
|
|
|
public double Left { get; set; }
|
|
|
|
public double Top { get; set; }
|
|
}
|