public static void SetCornerRadius(this MCard view, ICornerElement cornerElement) { view.CornerRadius = (nfloat)cornerElement.CornerRadius.TopLeft; }
public static void SetCornerRadius(this UIView view, ICornerElement cornerElement) { view.SetCornerRadius(cornerElement.CornerRadius); }
public static bool IsAllRadius(this ICornerElement cornerRadius) { return(cornerRadius.CornerRadius.IsAllRadius()); }
public static float[] ToRadii(this ICornerElement cornerElement, double density) { return(cornerElement.CornerRadius.ToRadii(density)); }
public static bool IsEmpty(this ICornerElement cornerRadius) { return(cornerRadius.CornerRadius.IsEmpty()); }
public static void SetCornerRadius(this Chip view, Context context, ICornerElement cornerElement) { view.ChipCornerRadius = context.ToPixels(cornerElement.CornerRadius.TopLeft); }
public static void SetCornerRadius(this MaterialButton view, Context context, ICornerElement cornerElement) { view.CornerRadius = (int)context.ToPixels(cornerElement.CornerRadius.TopLeft); }
public static void SetCornerRadius(this MaterialCardView view, Context context, ICornerElement cornerElement) { view.Radius = context.ToPixels(cornerElement.CornerRadius.TopLeft); }
public static void SetCornerRadius(this AView view, Context context, VisualElement element, ICornerElement cornerElement, Color?color = null) { view.SetCornerRadius(context, element, cornerElement.CornerRadius, color); }