Enum EmfPlusBrushDataFlags
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging.dll (25.2.0)
The BrushData flags specify properties of graphics brushes, including the presence of optional data fields. These flags can be combined to specify multiple options.
[Flags]
public enum EmfPlusBrushDataFlags
Fields
BrushDataBlendFactorsH = 8
This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBlendFactors object (section 2.2.2.5) that specifies a blend pattern along a horizontal gradient MUST be specified in the OptionalData field of the brush data object.
BrushDataBlendFactorsV = 16
This flag is meaningful in EmfPlusLinearGradientBrushData objects. If set, an EmfPlusBlendFactors object that specifies a blend pattern along a vertical gradient MUST be specified in the OptionalData field of the brush data object.
BrushDataDoNotTransform = 256
This flag is meaningful in EmfPlusTextureBrushData objects. If set, a world space to device space transform SHOULD NOT be applied to the texture brush.
BrushDataFocusScales = 64
This flag is meaningful in EmfPlusPathGradientBrushData objects. If set, anAspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusFocusScaleData object (section 2.2.2.18) MUST be specified in the OptionalData field of the brush data object.
BrushDataIsGammaCorrected = 128
This flag is meaningful in EmfPlusLinearGradientBrushData, EmfPlusPathGradientBrushData, and EmfPlusTextureBrushData objects. If set, the brush MUST already be gamma corrected; that is, output brightness and intensity have been corrected to match the input image.
BrushDataPath = 1
This flag is meaningful in Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusPathGradientBrushData objects (section 2.2.2.29). If set, an Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBoundaryPathData object (section 2.2.2.6) MUST be specified in the BoundaryData field of the brush data object. If clear, an Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBoundaryPointData object (section 2.2.2.7) MUST be specified in the BoundaryData field of the brush data object.
Graphics brushes are specified by Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBrush objects
BrushDataPresetColors = 4
This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBlendColors object (section 2.2.2.4) MUST be specified in the OptionalData field of the brush data object.
BrushDataTransform = 2
This flag is meaningful in Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusLinearGradientBrushData objects (section 2.2.2.24), Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusPathGradientBrushData objects, and Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusTextureBrushData objects (section 2.2.2.45). If set, a 2x3 world space to device space transform matrix MUST be specified in the OptionalData field of the brush data object.