private nfloat MDCLegacyInkLayerRectHypotenuse(CGRect rect) { return MDCMath.MDCHypot(rect.Width, rect.Height); }
private void SetRadiiWithRect(CGRect rect) { InitialRadius = MDCMath.MDCHypot(rect.Height, rect.Width) / 2 * 0.6f; FinalRadius = MDCMath.MDCHypot(rect.Height, rect.Width) / 2 + 10.0f; }