EmfPlusLinearGradientBrushOptionalData Class
Contents
[
Hide
]Summary: The EmfPlusLinearGradientBrushOptionalData object specifies optional data for a linear gradient brush.
Module: aspose.imaging.fileformats.emf.emfplus.objects
Full Name: aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusLinearGradientBrushOptionalData
Inheritance: EmfPlusStructureObjectType
Constructors
Name | Description |
---|---|
EmfPlusLinearGradientBrushOptionalData() | Initializes a new instance of the EmfPlusLinearGradientBrushOptionalData class |
Properties
Name | Type | Access | Description |
---|---|---|---|
blend_pattern | EmfPlusBlendBase[] | r/w | 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 |
blend_pattern_as_blend_factors_h | EmfPlusBlendFactors | r | Gets the blend pattern as blend factors h. |
blend_pattern_as_blend_factors_v | EmfPlusBlendFactors | r | Gets the blend pattern as blend factors v. |
blend_pattern_as_preset_colors | EmfPlusBlendColors | r | Gets the blend pattern as preset colors. |
transform_matrix | Matrix | r/w | 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. |
Constructor: EmfPlusLinearGradientBrushOptionalData()
EmfPlusLinearGradientBrushOptionalData()
Initializes a new instance of the EmfPlusLinearGradientBrushOptionalData class