EmfPlusBrushDataFlags
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class EmfPlusBrushDataFlags extends System.Enum
The BrushData flags specify properties of graphics brushes, including the presence of optional data fields. These flags can be combined to specify multiple options.
Fields
Field | Description |
---|---|
BrushDataPath | This flag is meaningful in EmfPlusPathGradientBrushData objects (section 2.2.2.29). |
BrushDataTransform | This flag is meaningful in EmfPlusLinearGradientBrushData objects (section 2.2.2.24), EmfPlusPathGradientBrushData objects, and EmfPlusTextureBrushData objects (section 2.2.2.45). |
BrushDataPresetColors | This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. |
BrushDataBlendFactorsH | This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. |
BrushDataBlendFactorsV | This flag is meaningful in EmfPlusLinearGradientBrushData objects. |
BrushDataFocusScales | This flag is meaningful in EmfPlusPathGradientBrushData objects. |
BrushDataIsGammaCorrected | This flag is meaningful in EmfPlusLinearGradientBrushData, EmfPlusPathGradientBrushData, and EmfPlusTextureBrushData objects. |
BrushDataDoNotTransform | This flag is meaningful in EmfPlusTextureBrushData objects. |
BrushDataPath
public static final int BrushDataPath
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.
Graphics brushes are specified by EmfPlusBrush objects
BrushDataTransform
public static final int BrushDataTransform
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
public static final int BrushDataPresetColors
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
public static final int BrushDataBlendFactorsH
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
public static final int BrushDataBlendFactorsV
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
public static final int BrushDataFocusScales
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
public static final int BrushDataIsGammaCorrected
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
public static final int BrushDataDoNotTransform
This flag is meaningful in EmfPlusTextureBrushData objects. If set, a world space to device space transform SHOULD NOT be applied to the texture brush.