NSExtendedStringDrawing.WeakGetBoundingRect 方法

定义

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

参数

This
NSString
size
CGSize
attributes
NSDictionary

返回

属性

适用于