FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CanvasProps

    trait · ferroui-view · v0.5.0

    trait CanvasProps: ElementBuilder
    

    The properties and routed events of Canvas.

    View source

    Members

    left

    fn left<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Canvas::left_property.

    Source

    top

    fn top<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Canvas::top_property.

    Source

    right

    fn right<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Canvas::right_property.

    Source

    bottom

    fn bottom<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Canvas::bottom_property.

    Source

    Trait implementations

    Availability

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