Share via


Compositor.CreateRectangleClip Méthode

Définition

Surcharges

CreateRectangleClip(Single, Single, Single, Single)

Crée une instance de RectangleClip avec les valeurs d’arête spécifiées.

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

Crée une instance de avec les valeurs de bord et de RectangleClip rayon d’angle spécifiées.

CreateRectangleClip()

Crée un instance de avec les RectangleClip valeurs par défaut.

CreateRectangleClip(Single, Single, Single, Single)

Crée une instance de RectangleClip avec les valeurs d’arête spécifiées.

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

Paramètres

left
Single

float

top
Single

float

Décalage du bord supérieur du haut du visuel, en pixels.

right
Single

float

Décalage du bord droit par rapport à la droite du visuel, en pixels.

bottom
Single

float

Décalage du bas gauche du bas du visuel, en pixels.

Retours

le instance créé de RectangleClip.

Attributs

S’applique à

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

Crée une instance de avec les valeurs de bord et de RectangleClip rayon d’angle spécifiées.

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

Paramètres

left
Single

float

Décalage du bord gauche par rapport à la gauche du visuel, en pixels.

top
Single

float

Décalage du bord supérieur du haut du visuel, en pixels.

right
Single

float

Décalage du bord droit par rapport à la droite du visuel, en pixels.

bottom
Single

float

Décalage du bas gauche du bas du visuel, en pixels.

topLeftRadius
Vector2 Vector2

float2

Quantité par laquelle le coin supérieur gauche du rectangle est arrondi, en pixels.

topRightRadius
Vector2 Vector2

float2

Quantité par laquelle le coin supérieur droit du rectangle est arrondi, en pixels.

bottomRightRadius
Vector2 Vector2

float2

Quantité par laquelle le coin inférieur droit du rectangle est arrondi, en pixels.

bottomLeftRadius
Vector2 Vector2

float2

Quantité par laquelle le coin inférieur gauche du rectangle est arrondi, en pixels.

Retours

le instance créé de RectangleClip.

Attributs

S’applique à

CreateRectangleClip()

Crée un instance de avec les RectangleClip valeurs par défaut.

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

Retours

le instance créé de RectangleClip.

Attributs

S’applique à