摘要: 有问题请发到邮箱17801032419@163.com 阅读全文
posted @ 2019-01-03 10:10 月亮和便士 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 图就是一个像素数组,数组中的每个像素就代表着图片中的一个点A bitmap image (or sampled image) is an array of pixels (or samples). Each pixel represents a single point in the image. 阅读全文
posted @ 2017-08-19 09:24 月亮和便士 阅读(203) 评论(0) 推荐(0) 编辑
摘要: iOS上的图像和图形处理 UIColor.init(red: <#T##CGFloat#>, green: <#T##CGFloat#>, blue: <#T##CGFloat#>, alpha: <#T##CGFloat#>)在这个函数中,所有的参数的范围都是0.0-1.0,所以有时候在用这个函数 阅读全文
posted @ 2017-08-03 21:33 月亮和便士 阅读(341) 评论(0) 推荐(0) 编辑
摘要: https://www.raywenderlich.comhttp://blog.jobbole.com/49040/ 阅读全文
posted @ 2017-08-02 22:25 月亮和便士 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 对于iOS常见的绘图效果都是可以用贝塞尔曲线来实现的,贝塞尔的使用分为两种情况1,在UIView的 draw(_ rect: CGRect) 函数中是用,这个函数中默认存在上下文环境,所以可以直接显示 override func draw(_ rect: CGRect) { let point = 阅读全文
posted @ 2017-08-02 22:23 月亮和便士 阅读(349) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-07-10 21:47 月亮和便士 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 今天是第一次写博客,很久以前想写,但是总是被这样或那样的事情耽搁!今天,开始,记录,让自己长成自己喜欢的样子,做自己喜欢做的事情! 阅读全文
posted @ 2016-06-04 23:08 月亮和便士 阅读(68) 评论(0) 推荐(0) 编辑