Skip to main content

morph_path

Function morph_path 

Source
pub fn morph_path(
    morph: &Morph,
    progress: f32,
    center: Point<Pixels>,
    side: f32,
    rotation_degrees: f32,
) -> Option<Path<Pixels>>
Expand description

The path of morph at progress, centered on center, side px per outline unit (a Material shape’s full size, as they are 0-1), and turned clockwise about its center.