CornerRadius 建構函式

定義

初始化 CornerRadius 類別的新執行個體。

多載

CornerRadius(Double)

使用各個邊角或矩形指定的統一半徑值初始化 CornerRadius 類別的新執行個體。

CornerRadius(Double, Double, Double, Double)

使用矩形各個邊角的指定半徑值初始化 CornerRadius 類別的新執行個體。

CornerRadius(Double)

使用各個邊角或矩形指定的統一半徑值初始化 CornerRadius 類別的新執行個體。

public:
 CornerRadius(double uniformRadius);
public CornerRadius (double uniformRadius);
new System.Windows.CornerRadius : double -> System.Windows.CornerRadius
Public Sub New (uniformRadius As Double)

參數

uniformRadius
Double

套用到矩形各個邊角的半徑值。

適用於

CornerRadius(Double, Double, Double, Double)

使用矩形各個邊角的指定半徑值初始化 CornerRadius 類別的新執行個體。

public:
 CornerRadius(double topLeft, double topRight, double bottomRight, double bottomLeft);
public CornerRadius (double topLeft, double topRight, double bottomRight, double bottomLeft);
new System.Windows.CornerRadius : double * double * double * double -> System.Windows.CornerRadius
Public Sub New (topLeft As Double, topRight As Double, bottomRight As Double, bottomLeft As Double)

參數

topLeft
Double

左上角的半徑。

topRight
Double

右上角的半徑。

bottomRight
Double

右下角的半徑。

bottomLeft
Double

左下角的半徑。

適用於