| RectangleFFromLeftTopRightBottom Method |
Creates a
RectangleF structure with upper-left corner and lower-right corner at the specified locations.
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxpublic static RectangleF FromLeftTopRightBottom(
float left,
float top,
float right,
float bottom
)
Public Shared Function FromLeftTopRightBottom (
left As Single,
top As Single,
right As Single,
bottom As Single
) As RectangleF
public:
static RectangleF FromLeftTopRightBottom(
float left,
float top,
float right,
float bottom
)
static member FromLeftTopRightBottom :
left : float32 *
top : float32 *
right : float32 *
bottom : float32 -> RectangleF
Parameters
- left
- Type: SystemSingle
The x-coordinate of the upper-left corner of the rectangular region. - top
- Type: SystemSingle
The y-coordinate of the upper-left corner of the rectangular region. - right
- Type: SystemSingle
The x-coordinate of the lower-right corner of the rectangular region. - bottom
- Type: SystemSingle
The y-coordinate of the lower-right corner of the rectangular region.
Return Value
Type:
RectangleFThe new
RectangleF that this method creates.
See Also