NSAttributedString_NSExtendedStringDrawing.BoundingRectWithSize Method

Definition

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

Parameters

size
CGSize

Returns

Attributes

Applies to