EmfPlusLinearGradientBrushOptionalData Class
The EmfPlusLinearGradientBrushOptionalData object specifies optional data for a linear gradient brush.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusObject
      Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusStructureObjectType
        Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusLinearGradientBrushOptionalData

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfPlusLinearGradientBrushOptionalData : EmfPlusStructureObjectType

The EmfPlusLinearGradientBrushOptionalData type exposes the following members.

Constructors
  NameDescription
Public methodEmfPlusLinearGradientBrushOptionalData
Initializes a new instance of the EmfPlusLinearGradientBrushOptionalData class
Properties
  NameDescription
Public propertyBlendPattern
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 propertyBlendPatternAsBlendFactorsH
Gets the blend pattern as blend factors h.
Public propertyBlendPatternAsBlendFactorsV
Gets the blend pattern as blend factors v.
Public propertyBlendPatternAsPresetColors
Gets the blend pattern as preset colors.
Public propertyTransformMatrix
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.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also