ID2D1RenderTarget::CreateLinearGradientBrush methods
Overload list
| Method | Description |
|---|---|
| CreateLinearGradientBrush(D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES&,ID2D1GradientStopCollection*,ID2D1LinearGradientBrush**) |
Creates an ID2D1LinearGradientBrush that contains the specified gradient stops, has no transform, and has a base opacity of 1.0. |
| CreateLinearGradientBrush(D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES&,D2D1_BRUSH_PROPERTIES&,ID2D1GradientStopCollection*,ID2D1LinearGradientBrush**) |
Creates an ID2D1LinearGradientBrush that contains the specified gradient stops and has the specified transform and base opacity. |
| CreateLinearGradientBrush(D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES*,D2D1_BRUSH_PROPERTIES*,ID2D1GradientStopCollection*,ID2D1LinearGradientBrush**) |
Creates an ID2D1LinearGradientBrush that contains the specified gradient stops and has the specified transform and base opacity. |
Examples
For an example showing how to create a gradient stop collection and use it to define a linear gradient, see How to Create a Linear Gradient Brush.
Requirements
|
Library |
|
|---|---|
|
DLL |
|
See also
- ID2D1RenderTarget
- CreateGradientStopCollection
- ID2D1GradientStopCollection
- ID2D1LinearGradientBrush
- ID2D1RadialGradientBrush
- How to Create a Linear Gradient Brush
- Brushes Overview
Show: