About CGAffineTransformMakeRotation rotation direction?

后端 未结 5 477
花落未央
花落未央 2020-12-13 14:52

I\'m trying to use CGAffineTransformMakeRotation, and I refer Apple document which says

The angle, in radians, by which this matrix rotates the coordi

5条回答
  •  时光取名叫无心
    2020-12-13 15:13

    Don't get confuse. Its wrong in apple documentation.

    CGAffineTransformMakeRotation(-angle) // for anti-clockwise rotation CGAffineTransformMakeRotation(angle) // for clockwise rotation

提交回复
热议问题