ShapeProps
trait · ferroui-view · v0.5.0
trait ShapeProps: ElementBuilder
The properties and routed events of Shape.
Members
fillstretchstrokestroke_dash_arraystroke_dash_offsetstroke_thicknessstroke_line_capstroke_joinstroke_miter_limit
fill
fn fill<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets Shape::fill_property.
stretch
fn stretch<M>(self: Self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self
Sets Shape::stretch_property.
stroke
fn stroke<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets Shape::stroke_property.
stroke_dash_array
fn stroke_dash_array<M>(self: Self, value: impl IntoProp<Option<ferroui_base::media::MediaCollection<f64>>, M>) -> Self
Sets Shape::stroke_dash_array_property.
stroke_dash_offset
fn stroke_dash_offset<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Shape::stroke_dash_offset_property.
stroke_thickness
fn stroke_thickness<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Shape::stroke_thickness_property.
stroke_line_cap
fn stroke_line_cap<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self
Sets Shape::stroke_line_cap_property.
stroke_join
fn stroke_join<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineJoin, M>) -> Self
Sets Shape::stroke_join_property.
stroke_miter_limit
fn stroke_miter_limit<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Shape::stroke_miter_limit_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.