Skip to content

Latest commit

 

History

History
81 lines (63 loc) · 4.69 KB

nf-d2d1-id2d1rendertarget-createradialgradientbrush(constd2d1_radial_gradient_brush_properties__id2d1gradientstopcollection_id2d1radialgradientbrush).md

File metadata and controls

81 lines (63 loc) · 4.69 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d2d1.ID2D1RenderTarget.CreateRadialGradientBrush(constD2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES&,ID2D1GradientStopCollection,ID2D1RadialGradientBrush)
ID2D1RenderTarget::CreateRadialGradientBrush(const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &,ID2D1GradientStopCollection,ID2D1RadialGradientBrush) (d2d1.h)
Creates an ID2D1RadialGradientBrush that contains the specified gradient stops, has no transform, and has a base opacity of 1.0.
CreateRadialGradientBrush
CreateRadialGradientBrush method [Direct2D]
CreateRadialGradientBrush method [Direct2D]
ID2D1RenderTarget interface
ID2D1RenderTarget interface [Direct2D]
CreateRadialGradientBrush method
ID2D1RenderTarget.CreateRadialGradientBrush
ID2D1RenderTarget.CreateRadialGradientBrush(const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &
ID2D1GradientStopCollection
ID2D1RadialGradientBrush)
ID2D1RenderTarget::CreateRadialGradientBrush
ID2D1RenderTarget::CreateRadialGradientBrush(const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &
ID2D1GradientStopCollection
ID2D1RadialGradientBrush)
d2d1/ID2D1RenderTarget::CreateRadialGradientBrush
direct2d.ID2D1RenderTarget_CreateRadialGradientBrush_overload2
direct2d.ID2D1RenderTarget_CreateRadialGradientBrush_ref_D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES_ptr_ID2D1GradientStopCollection_ptr_ptr_ID2D1RadialGradientBrush
direct2d\ID2D1RenderTarget_CreateRadialGradientBrush_overload2.htm
Direct2D
177d0b8c-82ae-4d2a-ae43-246352b92166
12/05/2018
CreateRadialGradientBrush, CreateRadialGradientBrush method [Direct2D], CreateRadialGradientBrush method [Direct2D],ID2D1RenderTarget interface, ID2D1RenderTarget interface [Direct2D],CreateRadialGradientBrush method, ID2D1RenderTarget.CreateRadialGradientBrush, ID2D1RenderTarget.CreateRadialGradientBrush(const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &,ID2D1GradientStopCollection,ID2D1RadialGradientBrush), ID2D1RenderTarget::CreateRadialGradientBrush, ID2D1RenderTarget::CreateRadialGradientBrush(const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &,ID2D1GradientStopCollection,ID2D1RadialGradientBrush), d2d1/ID2D1RenderTarget::CreateRadialGradientBrush, direct2d.ID2D1RenderTarget_CreateRadialGradientBrush_overload2, direct2d.ID2D1RenderTarget_CreateRadialGradientBrush_ref_D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES_ptr_ID2D1GradientStopCollection_ptr_ptr_ID2D1RadialGradientBrush
d2d1.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
D2d1.lib
D2d1.dll
Windows
19H1
ID2D1RenderTarget::CreateRadialGradientBrush
d2d1/ID2D1RenderTarget::CreateRadialGradientBrush
c++
APIRef
kbSyntax
COM
D2d1.dll
ID2D1RenderTarget.CreateRadialGradientBrush

-description

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

-parameters

-param radialGradientBrushProperties

Type: [in] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &

The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.

-param gradientStopCollection

Type: [in] ID2D1GradientStopCollection*

A collection of D2D1_GRADIENT_STOP structures that describe the colors in the brush's gradient and their locations along the gradient.

-param radialGradientBrush

Type: [out] ID2D1RadialGradientBrush**

When this method returns, contains a pointer to a pointer to the new brush. This parameter is passed uninitialized.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

ID2D1RenderTarget