Пример #1
0
        void UpdateShape()
        {
            var path = new CGPath();

            path.AddRoundedRect(new CGRect(0, 0, 1, 1), RadiusX, RadiusY);
            ShapeLayer.UpdateShape(path);
        }
Пример #2
0
        public void UpdatePoints(CGPoint[] points)
        {
            var path = new CGPath();

            path.AddLines(points);
            ShapeLayer.UpdateShape(path);
        }
Пример #3
0
        void UpdateShape()
        {
            var path = new CGPath();

            path.AddEllipseInRect(new CGRect(0, 0, 1, 1));
            ShapeLayer.UpdateShape(path);
        }
Пример #4
0
        void UpdateShape()
        {
            var path = new CGPath();

            path.MoveToPoint(_x1, _y1);
            path.AddLineToPoint(_x2, _y2);
            ShapeLayer.UpdateShape(path);
        }
 public void UpdateData(PathData path)
 {
     ShapeLayer.UpdateShape(path.Data);
     ShapeLayer.UpdateFillMode(path == null ? false : path.IsNonzeroFillRule);
 }
Пример #6
0
 public void UpdatePath(PathData path)
 {
     ShapeLayer.UpdateShape(path.Data);
     ShapeLayer.UpdateFillMode(path != null && path.IsNonzeroFillRule);
 }