NSString.DrawString 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DrawString(CGPoint, NSDictionary) | |
DrawString(CGRect, NSDictionary) | |
DrawString(CGRect, NSStringDrawingOptions, NSDictionary) |
DrawString(CGPoint, NSDictionary)
public void DrawString (CoreGraphics.CGPoint point, Foundation.NSDictionary attributes);
member this.DrawString : CoreGraphics.CGPoint * Foundation.NSDictionary -> unit
参数
- point
- CGPoint
- attributes
- NSDictionary
适用于
DrawString(CGRect, NSDictionary)
public void DrawString (CoreGraphics.CGRect rect, Foundation.NSDictionary attributes);
member this.DrawString : CoreGraphics.CGRect * Foundation.NSDictionary -> unit
参数
- rect
- CGRect
- attributes
- NSDictionary
适用于
DrawString(CGRect, NSStringDrawingOptions, NSDictionary)
public void DrawString (CoreGraphics.CGRect rect, Foundation.NSStringDrawingOptions options, Foundation.NSDictionary attributes);
member this.DrawString : CoreGraphics.CGRect * Foundation.NSStringDrawingOptions * Foundation.NSDictionary -> unit
参数
- rect
- CGRect
- options
- NSStringDrawingOptions
- attributes
- NSDictionary