PenProps
trait · ferroui-view · v0.5.0
trait PenProps: ElementBuilder
The properties and routed events of Pen.
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.
thickness
fn thickness<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Pen::thickness_property.
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.
line_cap
fn line_cap<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self
Sets Pen::line_cap_property.
line_join
fn line_join<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineJoin, M>) -> Self
Sets Pen::line_join_property.
miter_limit
fn miter_limit<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Pen::miter_limit_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.