Skip to content

@remotion/paths: translatePath() #1711

@JonnyBurger

Description

@JonnyBurger

It would be handy to have a function in @remotion/paths which takes a path and adds X / Y translation to it.

Could use this code: https://github.com/michaelrhodes/translate-svg-path/blob/master/index.js and re-use the path parsing patterns already existing in @remotion/paths.

Should also have 1-2 basic unit tests and a new documentation article like the other path functions.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions