Compositor.CreateRectangleClip 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateRectangleClip(Single, Single, Single, Single) |
使用指定的邊緣值建立 的 |
CreateRectangleClip(Single, Single, Single, Single, Vector2, Vector2, Vector2, Vector2) |
使用指定的邊緣和邊角半徑值建立 的 |
CreateRectangleClip() |
使用預設值建立 的 |
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
視覺效果底部左下角的位移,以圖元為單位。
傳回
的已建立實例 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
。
- 屬性
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應