Function freya_core::render::utils::border_shape
source · pub fn border_shape(
base_rect: Rect,
base_corner_radius: CornerRadius,
border: &Border,
) -> BorderShape
Expand description
Returns a Path
that will draw a Border
around a base rectangle.
We don’t use Skia’s stroking API here, since we might need different widths for each side.