title: UIView的重绘机制——drawRect date: 2016-08-18 10:08 tags: iOS category: 技术笔记 —

斯坦福公开课 ` 第七课.Views and Gestures ` ,提到了UIView的重绘函数 ` drawRect ` ,其中用到了 ` UIBezierPath ` 类来创建基于矢量的路径,基本用法:
这里写图片描述