PeachPDF

PeachPDF

PdfBoxShadow Struct

One box-shadow layer for the declarative document-building API (CreateDocument(Action<IDocumentBuilder>, PdfGenerateConfig)).

public readonly struct PdfBoxShadow
Constructors  
PdfBoxShadow(PdfColor, PdfLength, PdfLength, PdfLength, PdfLength, bool) Creates a box-shadow layer.
Properties  
Blur The blur radius (0 for a hard-edged shadow).
Inset Whether this shadow is drawn inside the border edge instead of outside it.
OffsetX The horizontal offset (positive moves the shadow right).
OffsetY The vertical offset (positive moves the shadow down).
PaintColor The shadow’s color.
Spread The spread distance (grows the shadow’s shape before blurring; negative shrinks it).