private void AddImageBackground() { var view = new UIRoundView(); InitViewFrame(view, _settings.ImageBackgroundDiamterAspect); view.BackgroundColor = _settings.ImageBackgroundColor; AddSubview(view); }
private void AddCircle(int indexOutsideIn) { var view = new UIRoundView(); var size = GetCircleSize(indexOutsideIn); var location = GetCircleLocation(size); view.Frame = new CGRect(location, size); var circleColor = _settings.ImageBackgroundColor.ColorWithAlpha(_settings.OuterCircleAlpha); view.BackgroundColor = circleColor; view.Alpha = 0.0f; _animatableCircles[indexOutsideIn] = view; AddSubview(view); }