共用方式為


NSExtendedStringDrawing.DrawString 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawString (this Foundation.NSString This, CoreGraphics.CGRect rect, Foundation.NSStringDrawingOptions options, AppKit.NSStringAttributes attributes, AppKit.NSStringDrawingContext context);
static member DrawString : Foundation.NSString * CoreGraphics.CGRect * Foundation.NSStringDrawingOptions * AppKit.NSStringAttributes * AppKit.NSStringDrawingContext -> unit

參數

This
NSString
rect
CGRect
attributes
NSStringAttributes
屬性

適用於