Share via


Compositor.CreateRectangleClip メソッド

定義

オーバーロード

CreateRectangleClip(Single, Single, Single, Single)

指定したエッジ値を持つ の RectangleClip インスタンスを作成します。

CreateRectangleClip(Single, Single, Single, Single, Vector2, Vector2, Vector2, Vector2)

指定したエッジとコーナー半径の値を持つ の RectangleClip インスタンスを作成します。

CreateRectangleClip()

既定値を使用して の RectangleClip インスタンスを作成します。

CreateRectangleClip(Single, Single, Single, Single)

指定したエッジ値を持つ の RectangleClip インスタンスを作成します。

public:
 virtual RectangleClip ^ CreateRectangleClip(float left, float top, float right, float bottom) = CreateRectangleClip;
/// [Windows.Foundation.Metadata.Overload("CreateRectangleClipWithSides")]
RectangleClip CreateRectangleClip(float const& left, float const& top, float const& right, float const& bottom);
[Windows.Foundation.Metadata.Overload("CreateRectangleClipWithSides")]
public RectangleClip CreateRectangleClip(float left, float top, float right, float bottom);
function createRectangleClip(left, top, right, bottom)
Public Function CreateRectangleClip (left As Single, top As Single, right As Single, bottom As Single) As RectangleClip

パラメーター

left
Single

float

top
Single

float

ビジュアルの上端からの上端のオフセット (ピクセル単位)。

right
Single

float

ビジュアルの右側からの右端のオフセット (ピクセル単位)。

bottom
Single

float

ビジュアルの下部からの左下のオフセット (ピクセル単位)。

戻り値

の作成されたインスタンス RectangleClip

属性

適用対象

CreateRectangleClip(Single, Single, Single, Single, Vector2, Vector2, Vector2, Vector2)

指定したエッジとコーナー半径の値を持つ の RectangleClip インスタンスを作成します。

public:
 virtual RectangleClip ^ CreateRectangleClip(float left, float top, float right, float bottom, float2 topLeftRadius, float2 topRightRadius, float2 bottomRightRadius, float2 bottomLeftRadius) = CreateRectangleClip;
/// [Windows.Foundation.Metadata.Overload("CreateRectangleClipWithSidesAndRadius")]
RectangleClip CreateRectangleClip(float const& left, float const& top, float const& right, float const& bottom, float2 const& topLeftRadius, float2 const& topRightRadius, float2 const& bottomRightRadius, float2 const& bottomLeftRadius);
[Windows.Foundation.Metadata.Overload("CreateRectangleClipWithSidesAndRadius")]
public RectangleClip CreateRectangleClip(float left, float top, float right, float bottom, Vector2 topLeftRadius, Vector2 topRightRadius, Vector2 bottomRightRadius, Vector2 bottomLeftRadius);
function createRectangleClip(left, top, right, bottom, topLeftRadius, topRightRadius, bottomRightRadius, bottomLeftRadius)
Public Function CreateRectangleClip (left As Single, top As Single, right As Single, bottom As Single, topLeftRadius As Vector2, topRightRadius As Vector2, bottomRightRadius As Vector2, bottomLeftRadius As Vector2) As RectangleClip

パラメーター

left
Single

float

ビジュアルの左側からの左端のオフセット (ピクセル単位)。

top
Single

float

ビジュアルの上端からの上端のオフセット (ピクセル単位)。

right
Single

float

ビジュアルの右側からの右端のオフセット (ピクセル単位)。

bottom
Single

float

ビジュアルの下部からの左下のオフセット (ピクセル単位)。

topLeftRadius
Vector2 Vector2

float2

四角形の左上隅が丸められる量 (ピクセル単位)。

topRightRadius
Vector2 Vector2

float2

四角形の右上隅が丸められる量 (ピクセル単位)。

bottomRightRadius
Vector2 Vector2

float2

四角形の右下隅が丸められる量 (ピクセル単位)。

bottomLeftRadius
Vector2 Vector2

float2

四角形の左下隅が丸められる量 (ピクセル単位)。

戻り値

の作成されたインスタンス RectangleClip

属性

適用対象

CreateRectangleClip()

既定値を使用して の RectangleClip インスタンスを作成します。

public:
 virtual RectangleClip ^ CreateRectangleClip() = CreateRectangleClip;
/// [Windows.Foundation.Metadata.Overload("CreateRectangleClip")]
RectangleClip CreateRectangleClip();
[Windows.Foundation.Metadata.Overload("CreateRectangleClip")]
public RectangleClip CreateRectangleClip();
function createRectangleClip()
Public Function CreateRectangleClip () As RectangleClip

戻り値

の作成されたインスタンス RectangleClip

属性

適用対象