共用方式為


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

傳回

屬性

適用於