[]
Represents a PDF Soft Mask as described in the PDF spec 1.7, page 552.
public class SoftMask : SoftMaskBase, IPdfDict
Gets the transparency group FormXObject to be used as the source of alpha or color values for deriving the mask.
public FormXObject FormXObject { get; }
Gets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject.
public override IPdfObject PdfObject { get; }
Gets the type of the soft mask it can be /Alpha or Luminosity.
public PdfName Subtype { get; }
Creates a SoftMask object.
public static SoftMask Create(GcPdfDocument doc, RectangleF bounds)
doc
GcPdfDocumentThe GcPdfDocument in which the new SoftMask will be used.
bounds
System.Drawing.RectangleFThe bounds where the soft mask should be applied.