一些记录
来源:互联网 发布:瑞斯康微电子知乎 编辑:程序博客网 时间:2024/04/30 15:05
1. UIBezierPath *path = [UIBezierPathbezierPathWithRoundedRect:pathFrame cornerRadius:0];
CGPoint shapePosition = CGPointMake(0,0);
CAShapeLayer *circleShape = [CAShapeLayerlayer];
circleShape.path = path.CGPath;
circleShape.position = shapePosition;
circleShape.fillColor = [UIColorclearColor].CGColor;
// circleShape.opacity = 0;
circleShape.strokeColor =
[UIColor redColor].CGColor;
circleShape.lineWidth = 1;
[self.view.layeraddSublayer:circleShape];
1.position 位置和origel一致因为frame的宽长为0
2.其他情况position和anchorPoint 为一个点,
lineCap起点形状
3.lineDashPhase = 9 第一个折线的长度 10-9
NSArray *arr = [[NSArrayalloc] initWithObjects:[NSNumbernumberWithInt:10],[NSNumbernumberWithInt:10],nil];
lineDashPattern = arr;
- 一些记录
- 一些记录
- 记录一些
- 一些记录
- 记录一些
- 一些记录
- 一些记录。
- 一些记录
- 一些记录
- 一些记录
- 一些记录
- 记录一些
- 一些记录
- 一些记录
- 一些记录
- 一些记录
- 一些记录
- 一些记录
- leetcode挨个儿刷150515(10):Search in Rotated Sorted Array
- mysql基础命令(一)
- 做精确计算时应避免使用float和double
- c++基础i
- centos 6.5下搭建ipsec/xl2tpd VPN
- 一些记录
- jquery插件基本配置
- 怎样新建class类和新建带有ViewController的xib文件
- 关于设置navigationBar高度的问题
- linux进程的管理命令
- 基于jdk6 API 开发 WebService(一)
- iOS开发常用国外网站清单
- TQ210学习之路(1)——移植软件
- Eclipse 炫黑主题配色