详解iOS中UIButton的三大UIEdgeInsets属性用法

时间:2021-01-20 09:56:05
【文件属性】:
文件名称:详解iOS中UIButton的三大UIEdgeInsets属性用法
文件大小:91KB
文件格式:PDF
更新时间:2021-01-20 09:56:05
Edge edg战队 ios UIEdgeInsets是什么 UIEdgeInsets是什么?我们点进去看一下: typedef struct UIEdgeInsets { CGFloat top, left, bottom, right; // specify amount to inset (positive) for each of the edges. values can be negative to 'outset' } UIEdgeInsets; UIEdgeInsets是个结构体类型。里面有四个参数,分别是:top, left, bottom, right。这四个参数表示距离上边界、左边界、下边界、

网友评论