CGSize
extension CGSize: WrapperCompatible
-
Undocumented
Declaration
Swift
public var isValid: Bool { get }
-
Undocumented
Declaration
Swift
public var isNotEmpty: Bool { get }
-
获取相对设计图宽度等比例缩放size
Declaration
Swift
public var relative: CGSize { get }
-
获取相对设计图宽度等比例缩放时的固定size
Declaration
Swift
public var fixed: CGSize { get }
-
获取基于当前设备的倍数像素取整size
Declaration
Swift
public var flat: CGSize { get }
-
获取向上取整size
Declaration
Swift
public var ceil: CGSize { get }