Class PdfSoftMask
A soft mask (ISO 32000-2 11.6.5.2): the mask group's content, recorded as its own display list in the user space in effect when the ExtGState was set, plus how its values become alpha.
public sealed record PdfSoftMask : IEquatable<PdfSoftMask>
- Inheritance
-
PdfSoftMask
- Implements
- Inherited Members
Constructors
PdfSoftMask(bool, IPdfDisplayList, PdfMatrix, PdfColor, IReadOnlyList<float>?)
A soft mask (ISO 32000-2 11.6.5.2): the mask group's content, recorded as its own display list in the user space in effect when the ExtGState was set, plus how its values become alpha.
public PdfSoftMask(bool Luminosity, IPdfDisplayList Content, PdfMatrix MaskToPage, PdfColor Backdrop, IReadOnlyList<float>? Transfer = null)
Parameters
LuminosityboolTrue: mask = luminosity of the group over
Backdrop; false: mask = group alpha.ContentIPdfDisplayListMask group content; coordinates map to page space through
MaskToPage.MaskToPagePdfMatrixBackdropPdfColorTransferIReadOnlyList<float>Optional /TR transfer function sampled at 256 points (0..1), applied to mask values.
Properties
Backdrop
public PdfColor Backdrop { get; init; }
Property Value
Content
Mask group content; coordinates map to page space through MaskToPage.
public IPdfDisplayList Content { get; init; }
Property Value
Luminosity
True: mask = luminosity of the group over Backdrop; false: mask = group alpha.
public bool Luminosity { get; init; }
Property Value
MaskToPage
public PdfMatrix MaskToPage { get; init; }
Property Value
Transfer
Optional /TR transfer function sampled at 256 points (0..1), applied to mask values.
public IReadOnlyList<float>? Transfer { get; init; }