UIViewExt
来源:互联网 发布:爱趣彩 可以网络购彩 编辑:程序博客网 时间:2024/04/29 06:46
此框架是为了方面定位坐标所用,具体方法如下:
@interface UIView (ViewFrameGeometry)
@propertyCGPoint origin;
@property CGSize size;
@property (readonly)CGPoint bottomLeft;
@property (readonly)CGPoint bottomRight;
@property (readonly)CGPoint topRight;
@propertyCGFloat height;
@property CGFloat width;
@property CGFloat top;
@property CGFloat left;
@propertyCGFloat bottom;
@property CGFloat right;
- (void) moveBy: (CGPoint) delta;
- (void) scaleBy: (CGFloat) scaleFactor;
- (void) fitInSize: (CGSize) aSize;
@end
0 0
- UIViewExt
- UIViewExt宽,高,顶部,底部
- 从应用角度看get与post
- P2P互联网金融行业分析
- 服务—-DHCP
- Android——4.2 - 3G移植之路之 reference-ril .pppd 拨号上网 (三)
- Eclipse Android 开发常见错误
- UIViewExt
- 浅谈加盐算法
- 骆驼命名法变量命名规范——匈牙利命名法、骆驼命名法、帕斯卡命名法、下划线命名法
- Hibernate关系映射学习点滴1:一对一关系映射
- Struts 2中实现文件下载(修正中文问题)
- js数组的操作
- iOS之富文本
- About murata Wi-Fi module
- 各种移动GPU压缩纹理的使用方法