CornerRadiusHelper.FromRadii(Double, Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a CornerRadius value from element values. C# and Microsoft Visual Basic code should use the CornerRadius(Double,Double,Double,Double) constructor instead.
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
Parameters
- topLeft
-
Double
double
The initial TopLeft value.
- topRight
-
Double
double
The initial TopRight value.
- bottomRight
-
Double
double
The initial BottomRight value.
- bottomLeft
-
Double
double
The initial BottomLeft value.
Returns
The created CornerRadius.