FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BorderRenderHelper

    struct · ferroui-controls · v0.5.0

    struct BorderRenderHelper
    

    Renders a border with a background, caching the geometries between renders.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    render

    fn render(self: &mut Self, context: &mut DrawingContext<'_>, final_size: Size, border_thickness: Thickness, corner_radius: CornerRadius, background_sizing: BackgroundSizing, background: Option<&Rc<dyn IBrush>>, border_brush: Option<&Rc<dyn IBrush>>, box_shadows: &BoxShadows)
    

    Renders the border and its background.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Default

    Availability

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