BemCheckBox.BemPathManager.PathForCheckMark C# (CSharp) Метод

PathForCheckMark() публичный Метод

public PathForCheckMark ( ) : UIKit.UIBezierPath
Результат UIKit.UIBezierPath
        public UIBezierPath PathForCheckMark()
        {
            UIBezierPath checkMarkPath = UIBezierPath.Create();

            checkMarkPath.MoveTo(new CGPoint(Size / 3.1578, Size / 2));
            checkMarkPath.AddLineTo(new CGPoint(Size / 2.0618, Size / 1.57894));
            checkMarkPath.AddLineTo(new CGPoint(Size / 1.3953, Size / 2.7272));

            if (BoxType == BemBoxType.BemBoxTypeSquare)
            {
                checkMarkPath.ApplyTransform(CGAffineTransform.MakeScale(new nfloat(1.5), new nfloat(1.5)));
                checkMarkPath.ApplyTransform(CGAffineTransform.MakeTranslation(-Size / 4, -Size / 4));
            }
            return checkMarkPath;
        }