forked from jmatsu/vector-drawable-previewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
svg_node.ts
35 lines (31 loc) · 854 Bytes
/
svg_node.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* disable-eslint: no-inner-declarations */
// Only supported things are listed-up.
export namespace SVGNode {
export const enum Type {
Root = 1,
Path,
}
export namespace Root {
export namespace Attribute {
export const Width = "width";
export const Height = "height";
export const ViewBox = "viewBox";
}
}
export namespace Path {
export namespace Attribute {
export const PathData = "d";
export const StrokeColor = "stroke";
export const StrokeWidth = "stroke-width";
export const StrokeLineCap = "stroke-linecap";
export const StrokeLineJoin = "stroke-linejoin";
export const FillColor = "style";
export const FillColorOption = "fill";
}
}
export namespace G {
export namespace Attribute {
export const Transform = "transform";
}
}
}