void UpdateShape() { var path = new CGPath(); path.AddRoundedRect(new CGRect(0, 0, 1, 1), RadiusX, RadiusY); ShapeLayer.UpdateShape(path); }
public void UpdatePoints(CGPoint[] points) { var path = new CGPath(); path.AddLines(points); ShapeLayer.UpdateShape(path); }
void UpdateShape() { var path = new CGPath(); path.AddEllipseInRect(new CGRect(0, 0, 1, 1)); ShapeLayer.UpdateShape(path); }
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); }
public void UpdatePath(PathData path) { ShapeLayer.UpdateShape(path.Data); ShapeLayer.UpdateFillMode(path != null && path.IsNonzeroFillRule); }