BlendMode::Lab
, optional feature, can be enabled usingfeatures = ["lab"]
in Cargo.tomlGradientBuilder
new methodcss()
for parsing css gradient format
f64
->f32
.GimpGradient
is now a optional feature, can be enabled usingfeatures = ["ggr"]
in Cargo.toml- Preset gradients move to submodule
preset
. - In previous version
Gradient
is a struct holdingLinearGradient
,BasisGradient
, etc in aBox
. NowGradient
is a trait.LinearGradient
,BasisGradient
, etc is now exposed directy, and they are implementingGradient
trait. CustomGradient
renamed toGradientBuilder
CustomGradientError
renamed toGradientBuilderError
BlendMode::Hsv
- Error parsing GIMP gradient with UTF-8 BOM.