Initializes a new instance of the LogicalRectangle class with the specified location, size, and unit.
x
The x-coordinate of the upper-left corner of the LogicalRectangle.
y
The y-coordinate of the upper-left corner of the LogicalRectangle.
width
The width of the LogicalRectangle.
height
The height of the LogicalRectangle.
unit
Specifies the unit of measurement of the LogicalRectangle.
For an example, refer to Equals.