Click or drag to resize

RectangleFNormalize Method

Normalizes the rectangle so both the Width and Height are positive, without changing the location of the rectangle

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Normalize()
Remarks
Rectangles can have negative widths/heights, which means that the starting location will not always be at the top left corner. Normalizing the rectangle will ensure that the X and Y co-ordinates of the rectangle are at the top left.
See Also