摘要: - (void)drawRect:(CGRect)rect { // 获取上下文(/画笔/绘图环境) CGContextRef context = UIGraphicsGetCurrentContext(); // 小段长度 CGFloat line_dash = self.height / 20; 阅读全文
posted @ 2024-05-27 14:22 CH520 阅读(23) 评论(0) 推荐(0) 编辑