Sprache

Compositor.CreateColorBrush Methode

Definition

Überlädt

Name Beschreibung
CreateColorBrush()

Erstellt eine instance von CompositionColorBrush.

CreateColorBrush(Color)

Erstellt eine instance von CompositionColorBrush unter Verwendung der angegebenen Farbe.

CreateColorBrush()

Erstellt eine instance von CompositionColorBrush.

public:
 virtual CompositionColorBrush ^ CreateColorBrush() = CreateColorBrush;
/// [Windows.Foundation.Metadata.Overload("CreateColorBrush")]
CompositionColorBrush CreateColorBrush();
[Windows.Foundation.Metadata.Overload("CreateColorBrush")]
public CompositionColorBrush CreateColorBrush();
function createColorBrush()
Public Function CreateColorBrush () As CompositionColorBrush

Gibt zurück

Gibt das erstellte CompositionColorBrush-Objekt zurück.

Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Siehe auch

Gilt für:

CreateColorBrush(Color)

Erstellt eine instance von CompositionColorBrush unter Verwendung der angegebenen Farbe.

public:
 virtual CompositionColorBrush ^ CreateColorBrush(Color color) = CreateColorBrush;
/// [Windows.Foundation.Metadata.Overload("CreateColorBrushWithColor")]
CompositionColorBrush CreateColorBrush(Color const& color);
[Windows.Foundation.Metadata.Overload("CreateColorBrushWithColor")]
public CompositionColorBrush CreateColorBrush(Color color);
function createColorBrush(color)
Public Function CreateColorBrush (color As Color) As CompositionColorBrush

Parameter

color
Color

Die Farbe für den zu verwendenden Pinsel.

Gibt zurück

Gibt das erstellte CompositionColorBrush-Objekt zurück.

Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Siehe auch

Gilt für: