.. default-domain:: py .. highlight:: py .. currentmodule:: Drawing Path ==== .. class:: Path The base class of orbit paths and of the paths whose points are in a reference frame. | Base class: :class:`Drawable` | Derived classes: :class:`FramedPath`, :class:`OrbitPath` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawable`: :attr:`~Drawable.visible`, :attr:`~Drawable.color`, :attr:`~Drawable.material`, :meth:`~Drawable.remove` .. attribute:: colors The colors of the path, blended evenly from its start to its end. :Attribute: Can be read or written :rtype: list(:class:`StdLib.ColorRGB`) :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Throws an exception if the list is empty or holds more than 8 colors. .. attribute:: thickness The thickness of the path. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: start_arrow Whether an arrow head is drawn at the start. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: end_arrow Whether an arrow head is drawn at the end. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: arrow_size The size of the arrow heads, relative to the thickness. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: dashed Whether the path is drawn as a dashed line. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: label The text drawn halfway along the path, facing the camera. Empty for no label. :Attribute: Can be read or written :rtype: str :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph