| 6 | /// [`HLine`](crate::HLine), or [`VLine`](crate::VLine) shapes in the same plot. |
| 7 | #[derive(Debug, Clone)] |
| 8 | pub 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 | |
| 21 | impl Fill { |
| 22 | /// Create a new [`Fill`] between two shapes. |
nothing calls this directly
no outgoing calls
no test coverage detected