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 =
5353 | LineOnly -> 8
5454 static member convert = ArrowHead.toEnum >> box
5555
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+
5680//--------------------------
5781// #B#
5882//--------------------------
You can’t perform that action at this time.
0 commit comments