PathCommand

Abstract base class for SVG path commands

Methods

get_end_point

get_end_point(current_pos: Point2D) -> Point2D

Get the end point of this command

interpolate

interpolate(other: PathCommand, t: float) -> PathCommand

Interpolate between this command and another at time t (0.0 to 1.0)

to_absolute

to_absolute(current_pos: Point2D) -> PathCommand

Convert to absolute coordinates

to_string

to_string()

Convert command to SVG path string format