Skip to main content

RoundRect

Type Alias RoundRect 

Source
pub type RoundRect = RoundedRectangle<f32>;
Expand description

A struct representing an axis-aligned rounded rectangle. Two points and an ‘f32’ are stored: the top left vertex, the bottom right vertex and the radius of the rounded corners.

Alias for a rectangle with f32 coordinates.

Aliased Type§

pub struct RoundRect { /* private fields */ }