Type Alias SVGPaint

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

Computed SVG Paint value

Aliased Type§

#[repr(C)]
pub 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