NSAttributedString_NSExtendedStringDrawing.BoundingRectWithSize(NSAttributedString, CGSize, NSStringDrawingOptions, NSStringDrawingContext) NSAttributedString_NSExtendedStringDrawing.BoundingRectWithSize(NSAttributedString, CGSize, NSStringDrawingOptions, NSStringDrawingContext) 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 CGSize

Returns

Applies to