Type Alias style::values::specified::basic_shape::ClipPath

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

A specified clip-path value.

Aliased Type§

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