MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / Fill

Class Fill

src/fill.rs:8–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6/// [`HLine`](crate::HLine), or [`VLine`](crate::VLine) shapes in the same plot.
7#[derive(Debug, Clone)]
8pub struct Fill {
9 /// Unique identifier for this fill region.
10 pub id: ShapeId,
11 /// Starting boundary shape.
12 pub begin: ShapeId,
13 /// Ending boundary shape.
14 pub end: ShapeId,
15 /// Optional label for legends.
16 pub label: Option<String>,
17 /// Fill color (and opacity).
18 pub color: Color,
19}
20
21impl Fill {
22 /// Create a new [`Fill`] between two shapes.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected