您的位置:首页 > 产品设计 > UI/UE

The Relationship of the Frame, Bounds, and Center Properties Of UIVIEW

2012-04-16 16:49 393 查看
The Relationship of the Frame, Bounds, and Center Properties

A view object tracks its size and location using its frame, bounds, and center properties:

● The frame property contains the frame rectangle, which specifies the size and location of the view in its

superview’s coordinate system.

● The bounds property contains the bounds rectangle, which specifies the size of the view (and its content

origin) in the view’s own local coordinate system.

● The center property contains the known center point of the view in the superview’s coordinate system.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  properties uiview object