Struct BrushProperties
Describes the opacity and transformation of a brush.
public struct BrushProperties
- Inherited Members
Remarks
This structure is used when creating a brush. For convenience, Direct2D provides the D2D1::BrushProperties function for creating BrushProperties structures.
After creating a brush, you can change its opacity or transform by calling the SetOpacity or SetTransform methods.
Fields
Opacity
A value between 0.0f and 1.0f, inclusive, that specifies the degree of opacity of the brush.
public float Opacity
Field Value
Transform
The transformation that is applied to the brush.
public RawMatrix3x2 Transform
Field Value
- RawMatrix3x2