offset_radii

Function offset_radii 

Source
fn offset_radii(radii: BorderRadius, offsets: LayoutSideOffsets) -> BorderRadius
Expand description

Given a set of corner radii for a rectangle, this function returns the corresponding radii for the outer rectangle resulting from expanding the original rectangle by the given offsets.