normalize


Description:

public unowned RoundedRect? normalize ()

Normalizes a rounded rectangle.

This function will ensure that the bounds of the rounded rectangle are normalized and ensure that the corner values are positive and the corners do not overlap.

Parameters:

this

a rounded rectangle

Returns:

the normalized rounded rectangle