Class EmfPlusLinearGradientBrushOptionalData
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusLinearGradientBrushOptionalData object specifies optional data for a linear gradient brush.
public sealed class EmfPlusLinearGradientBrushOptionalData : EmfPlusStructureObjectType
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusStructureObjectType ← EmfPlusLinearGradientBrushOptionalData
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusLinearGradientBrushOptionalData()
public EmfPlusLinearGradientBrushOptionalData()
Properties
BlendPattern
Gets or sets an optional blend pattern for the linear gradient brush. If this field is present, it MUST contain either an EmfPlusBlendColors object (section 2.2.2.4), or one or two EmfPlusBlendFactors objects (section 2.2.2.5), but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusLinearGradientBrushData BrushData flags and the corresponding blend patterns: EmfPlusBlendFactors
public EmfPlusBlendBase[] BlendPattern { get; set; }
Property Value
BlendPatternAsBlendFactorsH
Gets the blend pattern as blend factors h.
public EmfPlusBlendFactors BlendPatternAsBlendFactorsH { get; }
Property Value
BlendPatternAsBlendFactorsV
Gets the blend pattern as blend factors v.
public EmfPlusBlendFactors BlendPatternAsBlendFactorsV { get; }
Property Value
BlendPatternAsPresetColors
Gets the blend pattern as preset colors.
public EmfPlusBlendColors BlendPatternAsPresetColors { get; }
Property Value
TransformMatrix
Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the linear gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusLinearGradientBrushData object.
public Matrix TransformMatrix { get; set; }