File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,30 @@ module StyleParam =
53
53
| LineOnly -> 8
54
54
static member convert = ArrowHead.toEnum >> box
55
55
56
+ ///
57
+ [<RequireQualifiedAccess>]
58
+ type AxisAnchorId =
59
+ | X of int | Y of int | Z of int | Free
60
+
61
+ static member toString = function
62
+ | X id -> if id < 2 then " x" else sprintf " x%i " id
63
+ | Y id -> if id < 2 then " y" else sprintf " y%i " id
64
+ | Z id -> if id < 2 then " z" else sprintf " z%i " id
65
+ | Free -> " free"
66
+
67
+ static member convert = AxisAnchorId.toString >> box
68
+
69
+ [<RequireQualifiedAccess>]
70
+ type AxisId =
71
+ | X of int | Y of int | Z of int
72
+
73
+ static member toString = function
74
+ | X id -> if id < 2 then " xaxis" else sprintf " xaxis%i " id
75
+ | Y id -> if id < 2 then " yaxis" else sprintf " yaxis%i " id
76
+ | Z id -> if id < 2 then " zaxis" else sprintf " zaxis%i " id
77
+
78
+ static member convert = AxisId.toString >> box
79
+
56
80
//--------------------------
57
81
// #B#
58
82
//--------------------------
You can’t perform that action at this time.
0 commit comments