SVG path command builder.
This module provides backward compatibility by delegating to Visualize.IR.Path.
For new code, consider using Visualize.IR.Path directly for backend-agnostic
path construction.
Examples
iex> alias Visualize.SVG.Path
iex> Path.new()
...> |> Path.move_to(10, 20)
...> |> Path.line_to(100, 200)
...> |> Path.close()
...> |> Path.to_string()
"M10,20L100,200Z"
Summary
Functions
Converts the path to an SVG path string (the d attribute value).
Types
@type command() :: Visualize.IR.Path.command()
@type t() :: Visualize.IR.Path.t()
Functions
Converts the path to an SVG path string (the d attribute value).
The one d serialisation is Visualize.IR.Path.to_string/1 (D-12).