UIImageView的基本用法
2017-02-06 11:03
232 查看
UIViewContentModeScaleToFill,
UIViewContentModeScaleAspectFit, //
contents scaled to fit with fixed aspect. remainder is transparent
UIViewContentModeScaleAspectFill, //
contents scaled to fill with fixed aspect. some portion of content may be clipped.
UIViewContentModeRedraw, //
redraw on bounds change (calls -setNeedsDisplay)
UIViewContentModeCenter, //
contents remain same size. positioned adjusted.
UIViewContentModeTop,
UIViewContentModeBottom,
UIViewContentModeLeft,
UIViewContentModeRight,
UIViewContentModeTopLeft,
UIViewContentModeTopRight,
UIViewContentModeBottomLeft,
UIViewContentModeBottomRight,
UIViewContentModeScaleAspectFit, //
contents scaled to fit with fixed aspect. remainder is transparent
UIViewContentModeScaleAspectFill, //
contents scaled to fill with fixed aspect. some portion of content may be clipped.
UIViewContentModeRedraw, //
redraw on bounds change (calls -setNeedsDisplay)
UIViewContentModeCenter, //
contents remain same size. positioned adjusted.
UIViewContentModeTop,
UIViewContentModeBottom,
UIViewContentModeLeft,
UIViewContentModeRight,
UIViewContentModeTopLeft,
UIViewContentModeTopRight,
UIViewContentModeBottomLeft,
UIViewContentModeBottomRight,
相关文章推荐
- UIImageView 基本用法
- UISplitView的基本用法
- UIScrollView 的基本用法
- android WebView, WebChromeClient和WebViewClient加载网页基本用法
- UIScrollView的基本用法和简单示例
- UIALertView的基本用法与UIAlertViewDelegate对对话框的事件处理方法
- 开始使用 Zend_View 占位符:占位符基本用法
- UIALertView的基本用法与UIAlertViewDelegate对对话框的事件处理方法
- QTableView基本用法
- UIALertView的基本用法与UIAlertViewDelegate对对话框的事件处理方法
- android WebView, WebChromeClient跟WebViewClient加载网页基本用法
- UITableView基本用法
- iOS tableView 控件用法 [0] UITableView的基本用法
- UIScrollView 的基本用法
- android WebView, WebChromeClient和WebViewClient加载网页基本用法
- UIScrollView 的基本用法
- UITableView的基本用法
- qt qtableview基本用法
- UIImageView用法
- [一个星期自学安卓]ImageView的基本用法