0

在iOS7中,我们使用属性来绘制文本:

NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:largeFont,NSFontAttributeName, [UIColor whiteColor],NSForegroundColorAttributeName,[UIColor blackColor], NSStrokeColorAttributeName,nil];
[myString drawAtPoint:myPosition withAttributes:dictionary];

但是笔画不在文本之外,而是在中心。任何人都知道如何在 iOS7 中添加外部笔画?

4

0 回答 0