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
public void Normalize()
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