【问题标题】:Is this iOS coordinate system?这是iOS坐标系吗?
【发布时间】:2021-10-05 17:15:29
【问题描述】:

这是官方的 iOS 坐标系还是仅在使用 CoreGraphic 时才如此? (X正极在右边,Y正极在下面)

【问题讨论】:

    标签: ios core-graphics


    【解决方案1】:

    这是 UIKit 坐标空间。 Core Graphics(也称为 Core Text)默认将原点放在左下方。 On iOS it is common for the coordinate space to be flipped for Core Graphics so that it matches UIKit.

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-25
      • 1970-01-01
      • 2012-10-02
      • 1970-01-01
      相关资源
      最近更新 更多