Compositor.CreateColorGradientStop Compositor.CreateColorGradientStop Compositor.CreateColorGradientStop Compositor.CreateColorGradientStop Method

Definition

Overloads

CreateColorGradientStop() CreateColorGradientStop() CreateColorGradientStop() CreateColorGradientStop()

Creates an instance of CompositionColorGradientStop.

CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color)

Creates an instance of CompositionColorGradientStop with the specified offset and color.

CreateColorGradientStop() CreateColorGradientStop() CreateColorGradientStop() CreateColorGradientStop()

Creates an instance of CompositionColorGradientStop.

public : CompositionColorGradientStop CreateColorGradientStop()
CompositionColorGradientStop CreateColorGradientStop() const;
public CompositionColorGradientStop CreateColorGradientStop()
Public Function CreateColorGradientStop() As CompositionColorGradientStop

Returns

The created CompositionColorGradientStop object.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color) CreateColorGradientStop(Single, Color)

Creates an instance of CompositionColorGradientStop with the specified offset and color.

public : CompositionColorGradientStop CreateColorGradientStop(float offset, Color color)
CompositionColorGradientStop CreateColorGradientStop(Single offset, Color color) const;
public CompositionColorGradientStop CreateColorGradientStop(Single offset, Color color)
Public Function CreateColorGradientStop(offset As Single, color As Color) As CompositionColorGradientStop

Parameters

offset
Single Single

The location of the gradient stop within the gradient vector.

color
Color Color

The color of the gradient stop.

Returns

The created CompositionColorGradientStop object.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)