Szerkesztés

Megosztás a következőn keresztül:


CGRect.FromLTRB(nfloat, nfloat, nfloat, nfloat) Method

Definition

Creates a CGRect structure with the specified edge locations.

public static CoreGraphics.CGRect FromLTRB (nfloat left, nfloat top, nfloat right, nfloat bottom);
static member FromLTRB : nfloat * nfloat * nfloat * nfloat -> CoreGraphics.CGRect

Parameters

left
nfloat

The x-coordinate of the upper-left corner of this CGRect structure.

top
nfloat

The y-coordinate of the upper-left corner of this CGRect structure.

right
nfloat

The x-coordinate of the lower-right corner of this CGRect structure.

bottom
nfloat

The y-coordinate of the lower-right corner of this CGRect structure.

Returns

The new CGRect that this method creates.

Remarks

This method creates a CGRect with the specified upper-left and lower-right corners.

Applies to