NSAttributedString_NSExtendedStringDrawing.DrawWithRect 方法

定义

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

参数

rect
CGRect
属性

适用于