- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight这个UIImage类 实例方法的作用是 图片实例 被拉伸时1. 横向 ...
- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight
这个UIImage类 实例方法的作用是 图片实例 被拉伸时
1. 横向拉伸时 从左边数第 leftCapWidth 个像素 无限拉伸 其他像素正常显示。
2. 纵向拉伸时 从上数第 topCapHeight 个像素 无限拉伸 其他像素正常显示。
原标题:聊天气泡 button backgroundImage uiimage 拉伸 stretchableImageWithLeftCapWidth: 方法的使用
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。