Aracılığıyla paylaş


Compositor.CreateColorBrush Method

Definition

Overloads

CreateColorBrush()

Creates an instance of CompositionColorBrush.

CreateColorBrush(Color)

Creates an instance of CompositionColorBrush using the specified color.

CreateColorBrush()

Creates an instance of 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

Returns

Returns the created CompositionColorBrush object.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

See also

Applies to

CreateColorBrush(Color)

Creates an instance of CompositionColorBrush using the specified color.

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

Parameters

color
Color

The color for the brush to use.

Returns

Returns the created CompositionColorBrush object.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

See also

Applies to