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