[]
        
(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
object
SoftMask
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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 GrapeCity.Documents.Pdf.Spec.IPdfObject.

public override IPdfObject PdfObject { get; }

Property Value

GrapeCity.Documents.Pdf.Spec.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 System.Drawing.RectangleF

The bounds where the soft mask should be applied.

Returns

SoftMask

The created SoftMask object.