Type Alias ClipPath

Source
pub type ClipPath = GenericClipPath<BasicShape, SpecifiedUrl>;
Expand description

A specified clip-path value.

Aliased Type§

#[repr(u8)]
pub enum ClipPath { None, Url(CssUrl), Shape(Box<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, BasicShapeRect>>, ShapeGeometryBox), Box(ShapeGeometryBox), }

Variants§

Trait Implementations§

Source§

impl Parse for ClipPath

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more