Double
-
Undocumented
Declaration
Swift
public var isValid: Bool { get }
-
获取相对设计图宽度等比例缩放值
Declaration
Swift
public var relativeValue: CGFloat { get }
-
获取相对设计图宽度等比例缩放时的固定宽度值
Declaration
Swift
public var fixedValue: CGFloat { get }
-
获取基于当前设备的倍数像素取整值
Declaration
Swift
public var flatValue: CGFloat { get }
-
获取向上取整值
Declaration
Swift
public var ceilValue: CGFloat { get }
-
获取相对设计图宽度等比例缩放值
Declaration
Swift
@available(*, deprecated, renamed: "relativeValue", message: "Use relativeValue instead") public var relative: CGFloat { get }
-
获取相对设计图宽度等比例缩放时的固定宽度值
Declaration
Swift
@available(*, deprecated, renamed: "fixedValue", message: "Use fixedValue instead") public var fixed: CGFloat { get }
-
获取基于当前设备的倍数像素取整值
Declaration
Swift
@available(*, deprecated, renamed: "flatValue", message: "Use flatValue instead") public var flat: CGFloat { get }
-
获取向上取整值
Declaration
Swift
@available(*, deprecated, renamed: "ceilValue", message: "Use ceilValue instead") public var ceil: CGFloat { get }