CornerRadiusHelper.FromRadii(Double, Double, Double, Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从元素值生成 CornerRadius 值。 C# 和 Microsoft Visual Basic 代码应改用 CornerRadius (Double、Double、Double、Double) 构造函数。
public:
static CornerRadius FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft);
static CornerRadius FromRadii(double const& topLeft, double const& topRight, double const& bottomRight, double const& bottomLeft);
public static CornerRadius FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft);
function fromRadii(topLeft, topRight, bottomRight, bottomLeft)
Public Shared Function FromRadii (topLeft As Double, topRight As Double, bottomRight As Double, bottomLeft As Double) As CornerRadius
参数
- topLeft
-
Double
double
初始 TopLeft 值。
- topRight
-
Double
double
初始 TopRight 值。
- bottomRight
-
Double
double
初始 BottomRight 值。
- bottomLeft
-
Double
double
初始 BottomLeft 值。
返回
创建的 CornerRadius。