PaintStyle
struct · ferroui-livecharts · v0.5.0
struct PaintStyle
Members
fillstrokefill_brushstroke_brushbrush_spacestroke_widthstroke_capstroke_joinstroke_miteropacitydashesdash_offsetfillstroke
fill
fill: Option<ferroui_base::media::Color>
stroke
stroke: Option<ferroui_base::media::Color>
fill_brush
fill_brush: Option<std::rc::Rc<dyn IBrush>>
Native brushes override the corresponding color convenience value.
stroke_brush
stroke_brush: Option<std::rc::Rc<dyn IBrush>>
brush_space
brush_space: crate::paint::BrushSpace
stroke_width
stroke_width: f64
stroke_cap
stroke_cap: ferroui_base::media::PenLineCap
stroke_join
stroke_join: ferroui_base::media::PenLineJoin
stroke_miter
stroke_miter: f64
opacity
opacity: f64
dashes
dashes: Vec<f64>
Absolute device-independent lengths, matching source DashEffect.
dash_offset
dash_offset: f64
fill
fn fill(color: Color) -> Self
stroke
fn stroke(color: Color, width: f64) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.