Share via


Compositor.CreateLinearGradientBrush Method

Definition

Creates an instance of CompositionLinearGradientBrush.

public:
 virtual CompositionLinearGradientBrush ^ CreateLinearGradientBrush() = CreateLinearGradientBrush;
CompositionLinearGradientBrush CreateLinearGradientBrush();
public CompositionLinearGradientBrush CreateLinearGradientBrush();
function createLinearGradientBrush()
Public Function CreateLinearGradientBrush () As CompositionLinearGradientBrush

Returns

The created CompositionLinearGradientBrush object.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to