pub fn patternshade_shape( poly: &Polyline, step: f64, pattern_func: Rc<dyn Fn((f64, f64)) -> bool>, ) -> Vec<Polyline>