Прочитать на английском Изменить

Поделиться через


CornerRadius Constructors

Definition

Initializes a new instance of the CornerRadius class.

Overloads

CornerRadius(Double)

Initializes a new instance of the CornerRadius class with a specified uniform radius value for every corner or the rectangle.

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius class with the specified radius values for each corner of the rectangle.

CornerRadius(Double)

Initializes a new instance of the CornerRadius class with a specified uniform radius value for every corner or the rectangle.

C#
public CornerRadius(double uniformRadius);

Parameters

uniformRadius
Double

The radius value applied to every corner of the rectangle.

Applies to

.NET Framework 4.8.1 и другие версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius class with the specified radius values for each corner of the rectangle.

C#
public CornerRadius(double topLeft, double topRight, double bottomRight, double bottomLeft);

Parameters

topLeft
Double

The radius of the top-left corner.

topRight
Double

The radius of the top-right corner.

bottomRight
Double

The radius of the bottom-right corner.

bottomLeft
Double

The radius of the bottom-left corner.

Applies to

.NET Framework 4.8.1 и другие версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10