예제 #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);
 }