Added support for gradients as background variants + other optimizations.
This commit is contained in:
parent
669f7cc74b
commit
6551a0b2ab
41 changed files with 1658 additions and 1489 deletions
|
|
@ -1,7 +1,8 @@
|
|||
//! Fill [crate::widget::canvas::Geometry] with a certain style.
|
||||
use iced_core::{Color, Gradient};
|
||||
use iced_core::Color;
|
||||
|
||||
pub use crate::geometry::Style;
|
||||
use crate::Gradient;
|
||||
|
||||
/// The style used to fill geometry.
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
use iced_core::{Color, Gradient};
|
||||
use crate::Gradient;
|
||||
use iced_core::Color;
|
||||
|
||||
/// The coloring style of some drawing.
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue