Initializes a new instance of the LogicalRectangle class with the specified location and size.
location
The coordinates of the upper-left corner of the rectangle.
size
The width and height of the rectangle.
The location and size units should be equal. If they are different the size will be converted to location's unit of measurement. The new rectangle will have the same units as location.