Skip to content

E01 · F01 · EN-002 — Path data of a sharp contour ​

Turn a contour with sharp corners into the d attribute of a <path> (M, L, Z), for US-002.

Acceptance criteria ​

  • Given the contour (0, 0), (100, 0), (100, 50), (0, 50), when written, then d is M0 0 L100 0 L100 50 L0 50 Z.
  • Given a contour with derived coordinates, when written, then each number follows EN-001.

Tasks ​

One task = one commit, referenced as EN-002.Tn.