public static UWPCornerRadius Convert(XFCornerRadius xfCornerRadius)
 {
     return(new UWPCornerRadius(xfCornerRadius.TopLeft, xfCornerRadius.TopRight, xfCornerRadius.BottomRight, xfCornerRadius.BottomLeft));
 }
예제 #2
0
 public static double ConvertToDouble(XFCornerRadius xfCornerRadius)
 {
     return((xfCornerRadius.TopLeft + xfCornerRadius.TopRight + xfCornerRadius.BottomRight + xfCornerRadius.BottomLeft) / 4);
 }