1 | else if (location == AxisLocation.BOTTOM_OR_RIGHT) {↵ | | 1 | else if (location == AxisLocation.BOTTOM_OR_RIGHT) {↵
|
2 | if (orientation == PlotOrientation.HORIZONTAL) {↵ | | 2 | if (orientation == PlotOrientation.HORIZONTAL) {↵
|
3 | result = RectangleEdge.RIGHT;↵ | | 3 | result = RectangleEdge.BOTTOM;↵
|
4 | }↵ | | 4 | }↵
|
5 | else if (orientation == PlotOrientation.VERTICAL) {↵ | | 5 | else if (orientation == PlotOrientation.VERTICAL) {↵
|
6 | result = RectangleEdge.BOTTOM;↵ | | 6 | result = RectangleEdge.RIGHT;↵
|
7 | }↵ | | 7 | }↵
|
8 | }↵ | | 8 | }↵
|
9 | else if (location == AxisLocation.BOTTOM_OR_LEFT) {↵ | | 9 | else if (location == AxisLocation.BOTTOM_OR_LEFT) {↵
|
10 | if (orientation == PlotOrientation.HORIZONTAL) {↵ | | 10 | if (orientation == PlotOrientation.HORIZONTAL) {↵
|
11 | result = RectangleEdge.LEFT;↵ | | 11 | result = RectangleEdge.BOTTOM;↵
|
12 | }↵ | | 12 | }↵
|
13 | else if (orientation == PlotOrientation.VERTICAL) {↵ | | 13 | else if (orientation == PlotOrientation.VERTICAL) {↵
|
14 | result = RectangleEdge.BOTTOM;↵ | | 14 | result = RectangleEdge.LEFT;↵
|
15 | | | 15 |
|