Currently, we generate icon path in following format:
path(fill = SolidColor(Color.White)) {
moveTo(30f, 60f)
curveTo(46.569f, 60f, 60f, 46.569f, 60f, 30f)
close()
}
We can provide new format for path. Instead function call we can define path as string
addPath(
fill = SolidColor(Color(0xFFFFFFFF)),
pathData = addPathNodes("M 30 60 C 46.569 60 60 46.569 60 30 Z"),
)
discussion: #648
Note: This will be less optimal because the icon path will be parsed before rendering.