ID2D1RenderTarget::CreateRadialGradientBrush methods

Creates an ID2D1RadialGradientBrush object that can be used to paint areas with a radial gradient.

Overload list

MethodDescription
CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES&,ID2D1GradientStopCollection*,ID2D1RadialGradientBrush**)

Creates an ID2D1RadialGradientBrush that contains the specified gradient stops, has no transform, and has a base opacity of 1.0.

CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES&,D2D1_BRUSH_PROPERTIES&,ID2D1GradientStopCollection*,ID2D1RadialGradientBrush**)

Creates an ID2D1RadialGradientBrush that contains the specified gradient stops and has the specified transform and base opacity.

CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES*,D2D1_BRUSH_PROPERTIES*,ID2D1GradientStopCollection*,ID2D1RadialGradientBrush**)

Creates an ID2D1RadialGradientBrush that contains the specified gradient stops and has the specified transform and base opacity.

Examples

For an example, see How to Create a Radial Gradient Brush.

Requirements

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget
How to Create a Radial Gradient Brush
Brushes Overview

 

 

Show: