共用方式為


NSExtendedStringDrawing.WeakDrawString 方法

定義

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

參數

This
NSString
rect
CGRect
attributes
NSDictionary
屬性

適用於