网站/小程序/APP个性化定制开发,二开,改版等服务,加扣:8582-36016

实现圆形仪表盘样式进度条

应用介绍

    这是一个实现支持圆形仪表盘样式进度条效果案例,源码LineProgressView,实现圆形仪表盘样式进度条。支持多项属性的自定义包括数量、颜色、圆弧角度、延迟等等。 使用方法: 将demo中的文件夹LineProgressView复制到自己的项目中就可以使用: LineProgressView *lineProgressView = [[LineProgressView alloc] initWithFrame:CGRectMake((kWindowWidth-235.0)/2.0, 50, 235.0, 235.0)]; lineProgressView.backgroundColor = RGB(0.0, 151.0, 224.0); lineProgressView.delegate = self; lineProgressView.total = 54; lineProgressView.color = RGB(0.0, 124.0, 188.0); lineProgressView.radius = 105; lineProgressView.innerRadius = 93; lineProgressView.startAngle = M_PI * 0.72; lineProgressView.endAngle = M_PI * 2.28; lineProgressView.animationDuration = 2.0; lineProgressView.layer.shouldRasterize = YES; [self.view addSubview:lineProgressView]; [lineProgressView setCompleted:1.0*lineProgressView.total animated:YES];

    立即下载

    请到会员中心签到后即可获得免费下载!

    相关下载

    评论 共有 0 条评论

    暂无评论
    0
    0
    0
    立即
    投稿
    发表
    评论
    返回
    顶部