Compositor.CreateColorBrush メソッド

定義

オーバーロード

CreateColorBrush()

CompositionColorBrush のインスタンスを作成します。

CreateColorBrush(Color)

指定した色を使用して CompositionColorBrush のインスタンスを作成します。

CreateColorBrush()

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

戻り値

作成した CompositionColorBrush オブジェクトを 返します。

属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

こちらもご覧ください

適用対象

CreateColorBrush(Color)

指定した色を使用して CompositionColorBrush のインスタンスを作成します。

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

パラメーター

color
Color

使用するブラシの色。

戻り値

作成した CompositionColorBrush オブジェクトを 返します。

属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

こちらもご覧ください

適用対象