Compositor.CreateRectangleClip Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateRectangleClip(Single, Single, Single, Single) |
Creates an instance of |
CreateRectangleClip(Single, Single, Single, Single, Vector2, Vector2, Vector2, Vector2) |
Creates an instance of |
CreateRectangleClip() |
Creates an instance of |
CreateRectangleClip(Single, Single, Single, Single)
Creates an instance of RectangleClip
with the specified edge values.
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
Parameters
- left
-
Single
float
- top
-
Single
float
The offset of the top edge from the top of the visual, in pixels.
- right
-
Single
float
The offset of the right edge from the right of the visual, in pixels.
- bottom
-
Single
float
The offset of the left bottom from the bottom of the visual, in pixels.
Returns
The created instance of RectangleClip
.
- Attributes
Applies to
CreateRectangleClip(Single, Single, Single, Single, Vector2, Vector2, Vector2, Vector2)
Creates an instance of RectangleClip
with the specified edge and corner radius values.
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
Parameters
- left
-
Single
float
The offset of the left edge from the left of the visual, in pixels.
- top
-
Single
float
The offset of the top edge from the top of the visual, in pixels.
- right
-
Single
float
The offset of the right edge from the right of the visual, in pixels.
- bottom
-
Single
float
The offset of the left bottom from the bottom of the visual, in pixels.
The amount by which the top left corner of the rectangle is rounded, in pixels.
The amount by which the top right corner of the rectangle is rounded, in pixels.
The amount by which the bottom right corner of the rectangle is rounded, in pixels.
The amount by which the bottom left corner of the rectangle is rounded, in pixels.
Returns
The created instance of RectangleClip
.
- Attributes
Applies to
CreateRectangleClip()
Creates an instance of RectangleClip
with default values.
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
Returns
The created instance of RectangleClip
.
- Attributes