[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Graphics.SoftMask

Class SoftMask

Namespace
GrapeCity.Documents.Pdf.Graphics
Assembly
GcDocs.Pdf.dll

Represents a PDF Soft Mask as described in the PDF spec 1.7, page 552.

public class SoftMask : SoftMaskBase, IPdfDict
Inheritance
SoftMask
Implements
Inherited Members
Extension Methods

Properties

FormXObject

Gets the transparency group FormXObject to be used as the source of alpha or color values for deriving the mask.

public FormXObject FormXObject { get; }

Property Value

FormXObject

PdfObject

Gets the underlying IPdfObject.

public override IPdfObject PdfObject { get; }

Property Value

IPdfObject

Subtype

Gets the type of the soft mask it can be /Alpha or Luminosity.

public PdfName Subtype { get; }

Property Value

PdfName

Methods

Create(GcPdfDocument, RectangleF)

Creates a SoftMask object.

public static SoftMask Create(GcPdfDocument doc, RectangleF bounds)

Parameters

doc GcPdfDocument

The GcPdfDocument in which the new SoftMask will be used.

bounds RectangleF

The bounds where the soft mask should be applied.

Returns

SoftMask

The created SoftMask object.