Compositor.CreateColorGradientStop Methode

Definition

Überlädt

CreateColorGradientStop()

Erstellt eine instance von CompositionColorGradientStop.

CreateColorGradientStop(Single, Color)

Erstellt eine instance von CompositionColorGradientStop mit dem angegebenen Offset und der angegebenen Farbe.

CreateColorGradientStop()

public:
 virtual CompositionColorGradientStop ^ CreateColorGradientStop() = CreateColorGradientStop;
/// [Windows.Foundation.Metadata.Overload("CreateColorGradientStop")]
CompositionColorGradientStop CreateColorGradientStop();
[Windows.Foundation.Metadata.Overload("CreateColorGradientStop")]
public CompositionColorGradientStop CreateColorGradientStop();
function createColorGradientStop()
Public Function CreateColorGradientStop () As CompositionColorGradientStop

Gibt zurück

Das erstellte CompositionColorGradientStop-Objekt.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Gilt für:

CreateColorGradientStop(Single, Color)

Erstellt eine instance von CompositionColorGradientStop mit dem angegebenen Offset und der angegebenen Farbe.

public:
 virtual CompositionColorGradientStop ^ CreateColorGradientStop(float offset, Color color) = CreateColorGradientStop;
/// [Windows.Foundation.Metadata.Overload("CreateColorGradientStopWithOffsetAndColor")]
CompositionColorGradientStop CreateColorGradientStop(float const& offset, Color const& color);
[Windows.Foundation.Metadata.Overload("CreateColorGradientStopWithOffsetAndColor")]
public CompositionColorGradientStop CreateColorGradientStop(float offset, Color color);
function createColorGradientStop(offset, color)
Public Function CreateColorGradientStop (offset As Single, color As Color) As CompositionColorGradientStop

Parameter

offset
Single

float

Die Position des Farbverlaufsstopps innerhalb des Farbverlaufsvektors.

color
Color

Die Farbe des Farbverlaufsstopps.

Gibt zurück

Das erstellte CompositionColorGradientStop-Objekt.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Gilt für: