You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can I use this DACircularProgress with three color gradient?i want DACircularProgress can support more color to fill the Progress;but i did not know how to do.
The text was updated successfully, but these errors were encountered:
but i need roundedCorners. I try to use BezierPath to draw a image like this:
CGContextSaveGState(ctx);
UIBezierPath* aPath = [UIBezierPath bezierPathWithArcCenter:center
radius:outerRadius
startAngle:startAngle
endAngle:endAngle
clockwise:YES];
aPath.lineWidth = 20.f;
aPath.lineCapStyle = kCGLineCapRound;
aPath.lineJoinStyle = kCGLineCapRound;
[aPath addClip];
// //Draw the image, clipped to the path:
//CGContextDrawImage(ctx, self.bounds, [[UIImage imageNamed:@"ic_progress_coin"] CGImage]);
[[UIImage imageNamed:@"ic_progress_coin"] drawInRect:self.bounds];
CGContextRestoreGState(ctx);
Can I use this DACircularProgress with three color gradient?i want DACircularProgress can support more color to fill the Progress;but i did not know how to do.
The text was updated successfully, but these errors were encountered: