API Reference
Class
OfficeDrawingSoftMask
Reusable vector soft mask applied while an isolated drawing group is composited.
Inheritance
- Object
- OfficeDrawingSoftMask
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method OfficeDrawing.AddEffectDrawing
- Constructor OfficeDrawingEffectGroup.OfficeDrawingEffectGroup
Constructors
OfficeDrawingSoftMask 2 overloads
public OfficeDrawingSoftMask(OfficeDrawing drawing, OfficeSoftMaskMode mode = Alpha, Nullable<OfficeTransform> transform = null, Nullable<OfficeColor> backdropColor = null) #Creates a mask from drawing content in the source group's local coordinate system.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- mode OfficeIMO.Drawing.OfficeSoftMaskMode = Alpha
- transform System.Nullable{OfficeIMO.Drawing.OfficeTransform} = null
- backdropColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
public OfficeDrawingSoftMask(OfficeDrawing drawing, OfficeSoftMaskMode mode, Nullable<OfficeTransform> transform, Nullable<OfficeColor> backdropColor, OfficeSoftMaskLuminosityStandard luminosityStandard) #Creates a mask with all interpretation settings supplied positionally.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- mode OfficeIMO.Drawing.OfficeSoftMaskMode
- transform System.Nullable{OfficeIMO.Drawing.OfficeTransform}
- backdropColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- luminosityStandard OfficeIMO.Drawing.OfficeSoftMaskLuminosityStandard
Methods
public static OfficeDrawingSoftMask CreateWithLuminosityStandard(OfficeDrawing drawing, OfficeSoftMaskLuminosityStandard luminosityStandard, OfficeSoftMaskMode mode = Alpha, Nullable<OfficeTransform> transform = null, Nullable<OfficeColor> backdropColor = null) #Returns:
OfficeDrawingSoftMaskCreates a mask with an explicit luminosity standard.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- luminosityStandard OfficeIMO.Drawing.OfficeSoftMaskLuminosityStandard
- mode OfficeIMO.Drawing.OfficeSoftMaskMode = Alpha
- transform System.Nullable{OfficeIMO.Drawing.OfficeTransform} = null
- backdropColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public OfficeDrawing Drawing { get; } #Detached mask drawing.
public OfficeSoftMaskMode Mode { get; } #Mask interpretation.
public OfficeTransform Transform { get; } #Local transform applied to the mask before it is sampled.
public OfficeColor BackdropColor { get; } #Color used where the mask drawing has no coverage.
public OfficeSoftMaskLuminosityStandard LuminosityStandard { get; } #Luminance coefficients used when Mode is Luminosity.