Expand description
Generic types for the handling of images.
Re-exports§
pub use self::GenericImage as Image;
pub use self::GenericCrossFade as CrossFade;
pub use self::GenericCrossFadeElement as CrossFadeElement;
pub use self::GenericCrossFadeImage as CrossFadeImage;
pub use self::GenericImageSet as ImageSet;
pub use self::GenericImageSetItem as ImageSetItem;
pub use self::GenericGradient as Gradient;
pub use self::GenericEndingShape as EndingShape;
pub use self::GenericCircle as Circle;
pub use self::GenericEllipse as Ellipse;
pub use self::GenericGradientItem as GradientItem;
Structs§
- An optional percent and a cross fade image.
- https://drafts.csswg.org/css-images-4/#image-set-notation
- An optional percent and a cross fade image.
- State flags stored on each variant of a Gradient.
- Specified values for a paint worklet. https://drafts.css-houdini.org/css-paint-api/
Enums§
- A circle shape.
- An image or a color.
cross-fade
takes either when blending images together. - An ellipse shape.
- A radial gradient’s ending shape.
- A CSS gradient. https://drafts.csswg.org/css-images/#gradients
- A gradient item. https://drafts.csswg.org/css-images-4/#color-stop-syntax
- An
<image> | none
value. - Whether we used the modern notation or the compatibility
-webkit
,-moz
prefixes.
Traits§
- The direction of a linear gradient.