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