PaintSnapshot
struct · ferroui-livecharts · v0.5.0
struct PaintSnapshot
A sampled paint uses the same brush/pen objects as every other FerroUI control.
Members
brushbrush_spacestroke_widthstroke_miterstroke_capstroke_joindashesdash_offsetis_antialiasis_pausedz_indexapply_fillapply_stroke
brush
brush: std::rc::Rc<dyn IBrush>
brush_space
brush_space: super::BrushSpace
stroke_width
stroke_width: f64
stroke_miter
stroke_miter: f64
stroke_cap
stroke_cap: ferroui_base::media::PenLineCap
stroke_join
stroke_join: ferroui_base::media::PenLineJoin
dashes
dashes: Vec<f64>
dash_offset
dash_offset: f64
is_antialias
is_antialias: bool
is_paused
is_paused: bool
z_index
z_index: f64
apply_fill
fn apply_fill(self: &Self, style: &mut PaintStyle)
apply_stroke
fn apply_stroke(self: &Self, style: &mut PaintStyle)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.