Type Alias style::values::computed::svg::SVGPaint

source ·
pub type SVGPaint = GenericSVGPaint<Color, ComputedUrl>;
Expand description

Computed SVG Paint value

Aliased Type§

struct SVGPaint {
    pub kind: GenericSVGPaintKind<GenericColor<Percentage>, ComputedUrl>,
    pub fallback: GenericSVGPaintFallback<GenericColor<Percentage>>,
}

Fields§

§kind: GenericSVGPaintKind<GenericColor<Percentage>, ComputedUrl>

The paint source.

§fallback: GenericSVGPaintFallback<GenericColor<Percentage>>

The fallback color.

Implementations§

source§

impl SVGPaint

source

pub const BLACK: Self = _

Opaque black color