ux-animate 0.1.5

Backend and runtime agnostic animation library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::RenderHelper;
use crate::{
  canvas::rough::{geometry::line_length, Line, Op, OpSet, RoughOptions},
  Point,
};

//extends HachureFiller
pub struct ZigZagFiller;

impl ZigZagFiller {
  fn fill_polygon(&self, points: Vec<Point<f64>>, options: &RoughOptions) -> OpSet {
    // self._fillPolygon(points, o, true)
    unimplemented!()
  }
}