FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    rounded_annular_sector_path

    function · ferroui-livecharts · v0.5.0

    fn rounded_annular_sector_path(center: ferroui_base::Point, inner: f64, outer: f64, start_degrees: f64, sweep_degrees: f64, corner_radius: f64, inverted: bool) -> Vec<PathCommand>
    

    Rounded radial corners adapted from DoughnutGeometry.RoundedDraw. FerroUI receives cubic arcs instead of a backend-specific ArcTo command. Full rings remain exactly closed, and narrow wedges cap the corner before it can cross the opposite radial edge.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.