ws-cleanup-types: Types.VectorPath: declare the optional svg fields (group, clip, id, dashes, joins, caps, miter limit)
This commit is contained in:
1 parent
139441a37b
commit
dc98aec2ec
1 file changed
+8
@@ -950,6 +950,14 @@ export type VectorPath = {
|
||||
strokeWidth: number,
|
||||
transform: { number }?, -- a, b, c, d, e, f
|
||||
opacity: number,
|
||||
group: number?, -- index into meta.groups (svg <g> nesting: opacity / clip-path per group)
|
||||
clip: number?, -- index into meta.clips (a clip-path)
|
||||
id: string?,
|
||||
strokeDashArray: { number }?,
|
||||
strokeDashOffset: number?,
|
||||
strokeLineJoin: ("miter" | "round" | "bevel")?, -- default "miter"
|
||||
strokeLineCap: ("butt" | "round" | "square")?, -- default "butt"
|
||||
strokeMiterLimit: number?,
|
||||
}
|
||||
export type Vector = {
|
||||
kind: "vector",
|
||||
|
||||
Reference in new issue
Block a user