CGPoint

extension CGPoint: WrapperCompatible

ObjectType+Extension

  • Undocumented

    Declaration

    Swift

    public var isValid: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isNotEmpty: Bool { get }

Adaptive+Shortcut

  • 获取相对设计图宽度等比例缩放point

    Declaration

    Swift

    public var relative: CGPoint { get }
  • 获取相对设计图宽度等比例缩放时的固定point

    Declaration

    Swift

    public var fixed: CGPoint { get }
  • 获取基于当前设备的倍数像素取整point

    Declaration

    Swift

    public var flat: CGPoint { get }
  • 获取向上取整point

    Declaration

    Swift

    public var ceil: CGPoint { get }