graphix-package-tui 0.9.0

A dataflow language for UIs and network programming, TUI package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
let canvas = |
  #background_color: &[Color, null] = &null,
  #marker: &[Marker, null] = &null,
  #x_bounds: &{ max: f64, min: f64 },
  #y_bounds: &{ max: f64, min: f64 },
  shapes: &Array<&CanvasShape>
| -> Tui `Canvas({
  background_color,
  marker,
  shapes,
  x_bounds,
  y_bounds
})