Skip to content

editor / formatCoordinatePair

Function: formatCoordinatePair() ​

formatCoordinatePair(point): string

Defined in: io/format-coordinate-pair.ts:13

Coordinate pair of a path-data command, numbers at fixed precision: x y.

Parameters ​

point ​

Point

point to write

Returns ​

string

"x y" written with formatSvgNumber, one space between (wsp, §9.3.9)

Kind ​

format

See ​

REF-SVG2-PATHS