Return the orientation of the event line ('horizontal' or 'vertical').
(self)
| 1997 | return self._is_horizontal |
| 1998 | |
| 1999 | def get_orientation(self): |
| 2000 | """ |
| 2001 | Return the orientation of the event line ('horizontal' or 'vertical'). |
| 2002 | """ |
| 2003 | return 'horizontal' if self.is_horizontal() else 'vertical' |
| 2004 | |
| 2005 | def switch_orientation(self): |
| 2006 | """ |