Type Alias SVGOpacity

Source
pub type SVGOpacity = GenericSVGOpacity<Opacity>;
Expand description

| context-fill-opacity | context-stroke-opacity

Aliased Type§

#[repr(C, u8)]
pub enum SVGOpacity { Opacity(f32), ContextFillOpacity, ContextStrokeOpacity, }

Variants§

§

Opacity(f32)

<opacity-value>

§

ContextFillOpacity

context-fill-opacity

§

ContextStrokeOpacity

context-stroke-opacity

Trait Implementations§

Source§

impl Default for SVGOpacity

Source§

fn default() -> Self

Returns the “default value” for a type. Read more