pub type PathOrShapeFunction = GenericPathOrShapeFunction<Angle, LengthPercentage>;
Expand description

The computed value of PathOrShapeFunction.

Aliased Type§

enum PathOrShapeFunction {
    Path(Path),
    Shape(Shape<Angle, LengthPercentage>),
}

Variants§

§

Path(Path)

Defines a path with SVG path syntax.

§

Shape(Shape<Angle, LengthPercentage>)

Defines a shape function, which is identical to path() but it uses the CSS syntax.

Trait Implementations§

source§

impl Animate for PathOrShapeFunction

source§

fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>

Animate a value towards another one, given an animation procedure.