def edge.of
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
98def edge.of(a: Point, b: Point, stroke: Bool, closed: Bool) -> Edge:
99 Point{x0, y0} = a
100 Point{x1, y1} = b
101 Edge{x0, y0, x1, y1, stroke, closed}
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
98def edge.of(a: Point, b: Point, stroke: Bool, closed: Bool) -> Edge:
99 Point{x0, y0} = a
100 Point{x1, y1} = b
101 Edge{x0, y0, x1, y1, stroke, closed}