SourceModule rrect
Describes a rounded rectangle with a bounds and a pair of radii for each corner. The bounds
and radii can be set so that RoundRect describes: a rectangle with sharp corners; a circle; an
oval; or a rectangle with one or more rounded corners.
RoundRect allows implementing CSS properties that describe rounded corners. RoundRect may have
up to eight different radii, one for each axis on each of its four corners.
RoundRect may modify the provided parameters when initializing bounds and radii. If either axis
radii is zero or less: radii are stored as zero; corner is square. If corner curves overlap,
radii are proportionally reduced to fit within bounds.
Classes§
| RoundRect |