語言

CornerRadius 建構函式

定義

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

多載

名稱 Description
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

左下角的半徑。

適用於