FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PenProps

    trait · ferroui-view · v0.5.0

    trait PenProps: ElementBuilder
    

    The properties and routed events of Pen.

    View source

    Members

    brush

    fn brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets Pen::brush_property.

    Source

    thickness

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

    Sets Pen::thickness_property.

    Source

    dash_style

    fn dash_style<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IDashStyle>>, M>) -> Self
    

    Sets Pen::dash_style_property.

    Source

    line_cap

    fn line_cap<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self
    

    Sets Pen::line_cap_property.

    Source

    line_join

    fn line_join<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineJoin, M>) -> Self
    

    Sets Pen::line_join_property.

    Source

    miter_limit

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

    Sets Pen::miter_limit_property.

    Source

    Trait implementations

    Availability

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