Seg
import { Seg } from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";
Path segment.
abstract class Seg { }
abstract cmd: CmdTy;
isA(): this is SegA;
abstract isAbs(): boolean;
isC(): this is SegC;
isH(): this is SegH;
isL(): this is SegL;
isM(): this is SegM;
isQ(): this is SegQ;
abstract isRel(): boolean;
isS(): this is SegS;
isT(): this is SegT;
isV(): this is SegV;
isZ(): this is SegZ;
abstract toAbs(x: number, y: number): void;
abstract toRel(x: number, y: number): void;