In This Topic
Creates a
Rect structure based on the coordinates of its top-left and bottom-right corners.
Syntax
'Declaration
Public Shared Function FromLTRB( _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
) As Rect
public static Rect FromLTRB(
System.double ,
System.double ,
System.double ,
System.double
)
Parameters
- left
- The X coordinate of the upper-left corner of the rectangular region.
- top
- The Y coordinate of the upper-left corner of the rectangular region.
- right
- The X coordinate of the lower-right corner of the rectangular region.
- bottom
- The Y coordinate of the lower-right corner of the rectangular region.
Return Value
The newly created
Rect structure.
See Also