Edit

Share via


CGRect.Explicit Operator

Definition

Overloads

Explicit(CGRect to Rectangle)

Converts a CGRect to a Rectangle.

Explicit(CGRect to RectangleF)

Converts a CGRect to a RectangleF.

Explicit(CGRect to Rectangle)

Converts a CGRect to a Rectangle.

public static explicit operator System.Drawing.Rectangle (CoreGraphics.CGRect rect);
static member op_Explicit : CoreGraphics.CGRect -> System.Drawing.Rectangle

Parameters

rect
CGRect

Returns

Applies to

Explicit(CGRect to RectangleF)

Converts a CGRect to a RectangleF.

public static explicit operator System.Drawing.RectangleF (CoreGraphics.CGRect rect);
static member op_Explicit : CoreGraphics.CGRect -> System.Drawing.RectangleF

Parameters

rect
CGRect

Returns

Applies to