[]
Creates a RectangleD structure based on the coordinates of its top-left and bottom-right corners.
public static RectangleD FromLTRB(double left, double top, double right, double bottom)
Type | Name | Description |
---|---|---|
double | left | The X coordinate of the upper-left corner of the rectangular region. |
double | top | The Y coordinate of the upper-left corner of the rectangular region. |
double | right | The X coordinate of the lower-right corner of the rectangular region. |
double | bottom | The Y coordinate of the lower-right corner of the rectangular region. |
Type | Description |
---|---|
RectangleD | The newly created RectangleD structure. |