Function freya::core::prelude::border_shape
source · pub fn border_shape(
base_rect: Rect,
base_corner_radius: CornerRadius,
border: &Border,
) -> BorderShapeExpand 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.