# PaintSnapshot

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/paint/struct-paintsnapshot/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct PaintSnapshot
```

A sampled paint uses the same brush/pen objects as every other FerroUI control.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L45)

## Members

- [`brush`](#struct_field-brush)
- [`brush_space`](#struct_field-brush_space)
- [`stroke_width`](#struct_field-stroke_width)
- [`stroke_miter`](#struct_field-stroke_miter)
- [`stroke_cap`](#struct_field-stroke_cap)
- [`stroke_join`](#struct_field-stroke_join)
- [`dashes`](#struct_field-dashes)
- [`dash_offset`](#struct_field-dash_offset)
- [`is_antialias`](#struct_field-is_antialias)
- [`is_paused`](#struct_field-is_paused)
- [`z_index`](#struct_field-z_index)
- [`apply_fill`](#function-apply_fill)
- [`apply_stroke`](#function-apply_stroke)

<a id="struct_field-brush"></a>

### brush

```rust
brush: std::rc::Rc<dyn IBrush>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L46)

<a id="struct_field-brush_space"></a>

### brush_space

```rust
brush_space: super::BrushSpace
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L47)

<a id="struct_field-stroke_width"></a>

### stroke_width

```rust
stroke_width: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L48)

<a id="struct_field-stroke_miter"></a>

### stroke_miter

```rust
stroke_miter: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L49)

<a id="struct_field-stroke_cap"></a>

### stroke_cap

```rust
stroke_cap: ferroui_base::media::PenLineCap
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L50)

<a id="struct_field-stroke_join"></a>

### stroke_join

```rust
stroke_join: ferroui_base::media::PenLineJoin
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L51)

<a id="struct_field-dashes"></a>

### dashes

```rust
dashes: Vec<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L52)

<a id="struct_field-dash_offset"></a>

### dash_offset

```rust
dash_offset: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L53)

<a id="struct_field-is_antialias"></a>

### is_antialias

```rust
is_antialias: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L54)

<a id="struct_field-is_paused"></a>

### is_paused

```rust
is_paused: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L55)

<a id="struct_field-z_index"></a>

### z_index

```rust
z_index: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L56)

<a id="function-apply_fill"></a>

### apply_fill

```rust
fn apply_fill(self: &Self, style: &mut PaintStyle)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L74)

<a id="function-apply_stroke"></a>

### apply_stroke

```rust
fn apply_stroke(self: &Self, style: &mut PaintStyle)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/paint/paint_motion.rs#L79)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `PartialEq`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
