mirror of
https://gh-proxy.org/https://github.com/klinsmaya/dashjim.github.com.git
synced 2026-11-09 18:06:56 +08:00
增加Retina的说明
This commit is contained in:
@@ -37,6 +37,9 @@ UIColor *circleColorPattern = [UIColor colorWithPatternImage:
|
||||

|
||||
但是自己看,你会发现按钮中间大都数像素都是横向重复的,所以可以使用iOS的图片接口来使用体积更小的图片实现相同的效果.
|
||||
首先使用PS的切图工具进行切图,下图中的切图逻辑是,左边切14像素(13像素加1像素,1像素为中间重复部分),右边切13像素.
|
||||
|
||||
> Retina屏幕下一个单位对应着两个像素,这里的例子是非Retina下的情况,请注意
|
||||
|
||||
<br>
|
||||

|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user