Compositor.CreateColorGradientStop Metodo

Definizione

Overload

CreateColorGradientStop()

Crea un'istanza di CompositionColorGradientStop.

CreateColorGradientStop(Single, Color)

Crea un'istanza di CompositionColorGradientStop con l'offset e il colore specificati.

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

Restituisce

Oggetto CompositionColorGradientStop creato.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Si applica a

CreateColorGradientStop(Single, Color)

Crea un'istanza di CompositionColorGradientStop con l'offset e il colore specificati.

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

Parametri

offset
Single

float

Posizione dell'arresto sfumatura all'interno del vettore sfumatura.

color
Color

Colore del cursore sfumatura.

Restituisce

Oggetto CompositionColorGradientStop creato.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Si applica a