[ ] ๐ Documentation (updates to the documentation, readme or JSDoc annotations)
[ ] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[x] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
SVGPath related properties are not processed originally
MotionProperties is defined includes SVGPathProperties, but does not process
style supports process pathLength, pathSpacing, pathOffset
pathLength always normalize to 1
pathLength and pathSpacing to stroke-dasharray. stroke-dasharray = pathLength pathSpacing
4.1 stroke-dasharray = pathLength pathSpacing. this support process dashes and gaps are two or same size, can't process that dashes and gaps of various sizes with an odd number of values, like 4,1,2 which is equivalent to [4,1,2,4,1,2]
๐ Linked issue
241
โ Type of change
๐ Description
SVGPath related properties are not processed originally
MotionProperties
is defined includesSVGPathProperties
, but does not processstyle
supports processpathLength
,pathSpacing
,pathOffset
pathLength
always normalize to 1pathLength
andpathSpacing
tostroke-dasharray
.stroke-dasharray = pathLength pathSpacing
4.1stroke-dasharray = pathLength pathSpacing
. this support process dashes and gaps are two or same size, can't process that dashes and gaps of various sizes with an odd number of values, like4,1,2
which is equivalent to[4,1,2,4,1,2]
pathOffset
tostroke-dashoffset
๐ Checklist