开发者

When drawing an NSString with -drawAtPoint:, what is the starting point of the string?

开发者 https://www.devze.com 2023-01-17 06:11 出处:网络
Relative to开发者_高级运维 the text... where is the point? Top left of the rectangle where the text is? From the documentation:

Relative to开发者_高级运维 the text... where is the point? Top left of the rectangle where the text is?


From the documentation:

Parameters

point

The location (in the coordinate system of the current graphics context) at which to draw the string. This point represents the top-left corner of the string’s bounding box.

0

精彩评论

暂无评论...
验证码 换一张
取 消