FromLTRB Method (ObjectRect)
In This Topic
Creates an instance of
ObjectRect from (left, top, right, bottom) coordinates.
Syntax
'Declaration
Public Shared Function FromLTRB( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As ObjectRect
public static ObjectRect FromLTRB(
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- left
- The X coordinate of the top left corner.
- top
- The Y coordinate of the top left corner.
- right
- The X coordinate of the bottom right corner.
- bottom
- The Y coordinate of the bottom right corner.
See Also