07 2013 档案

摘要://设置线的宽度CGContextSetLineWidth(ctx, 12);//设置线的连接处 (拐点)CGContextSetLineJoin(ctx,kCGLineJoinRound)/* Line join styles. */ enum CGLineJoin { kCGLineJoinMiter, kCGLineJoinRound,//圆滑的 kCGLineJoinBevel }; //设置线的端点CGContextSetLineCap(ctx, kCGLineCapButt); 设置 线的端点样式enum CGLineCap { kCGLineCapButt,... 阅读全文
posted @ 2013-07-25 17:18 zander 阅读(429) 评论(0) 推荐(0)
摘要:父视图 和子视图的关联只有当父视图 userInteractionEnabled=YES; 是其子视图才可响应userInteractionEnabled=NO代表不接受响应UIView的默认值时YES UIview的子类 的默认值要根据具体的api。 阅读全文
posted @ 2013-07-23 17:00 zander 阅读(437) 评论(0) 推荐(0)