Modifier

Partager via


NSValue.FromCGRect(CGRect) Method

Definition

Creates an NSValue that stores a rectangle.

[Foundation.Export("valueWithCGRect:")]
public static Foundation.NSValue FromCGRect (CoreGraphics.CGRect rect);
[Foundation.Export("valueWithRect:")]
public static Foundation.NSValue FromCGRect (CoreGraphics.CGRect rect);
static member FromCGRect : CoreGraphics.CGRect -> Foundation.NSValue

Parameters

rect
CGRect

Returns

Attributes

Applies to