EmfPlusLinearGradientBrushOptionalData class

The EmfPlusLinearGradientBrushOptionalData object specifies optional data for a linear gradient brush.

public sealed class EmfPlusLinearGradientBrushOptionalData : EmfPlusStructureObjectType


Name Description
EmfPlusLinearGradientBrushOptionalData() The default constructor.


Name Description
BlendPattern { get; set; } 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, or one or two EmfPlusBlendFactors objects (section, but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusLinearGradientBrushData BrushData flags and the corresponding blend patterns: EmfPlusBlendFactors
BlendPatternAsBlendFactorsH { get; } Gets the blend pattern as blend factors h.
BlendPatternAsBlendFactorsV { get; } Gets the blend pattern as blend factors v.
BlendPatternAsPresetColors { get; } Gets the blend pattern as preset colors.
TransformMatrix { get; set; } Gets or sets an optional EmfPlusTransformMatrix object (section 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.

See Also