EmfPlusBrushDataFlags

EmfPlusBrushDataFlags enumeration

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

Values

Name Value Description
BrushDataPath 1 This flag is meaningful in EmfPlusPathGradientBrushData objects (section 2.2.2.29). If set, an EmfPlusBoundaryPathData object (section 2.2.2.6) MUST be specified in the BoundaryData field of the brush data object. If clear, an EmfPlusBoundaryPointData object (section 2.2.2.7) MUST be specified in the BoundaryData field of the brush data object.
BrushDataTransform 2 This flag is meaningful in EmfPlusLinearGradientBrushData objects (section 2.2.2.24), EmfPlusPathGradientBrushData objects, and 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.
BrushDataPresetColors 4 This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an EmfPlusBlendColors object (section 2.2.2.4) MUST be specified in the OptionalData field of the brush data object.
BrushDataBlendFactorsH 8 This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an 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 10 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.
BrushDataFocusScales 40 This flag is meaningful in EmfPlusPathGradientBrushData objects. If set, anEmfPlusFocusScaleData object (section 2.2.2.18) MUST be specified in the OptionalData field of the brush data object.
BrushDataIsGammaCorrected 80 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.
BrushDataDoNotTransform 100 This flag is meaningful in EmfPlusTextureBrushData objects. If set, a world space to device space transform SHOULD NOT be applied to the texture brush.

See Also