pub type PathOrShapeFunction = GenericPathOrShapeFunction<Angle, Position, LengthPercentage>;Expand description
The computed value of PathOrShapeFunction.
Aliased Type§
#[repr(C, u8)]pub enum PathOrShapeFunction {
Path(Path),
Shape(Shape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage>),
}Variants§
Path(Path)
Defines a path with SVG path syntax.
Shape(Shape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage>)
Defines a shape function, which is identical to path() but it uses the CSS syntax.