.. default-domain:: lua .. highlight:: lua .. 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:`Drawing.Drawable` | Derived classes: :class:`Drawing.FramedPath`, :class:`Drawing.OrbitPath` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.Drawable`: :attr:`visible `, :attr:`color `, :attr:`material `, :meth:`remove ` .. attribute:: colors: List The colors of the path, blended evenly from its start to its end. :Attribute: Can be read or written .. note:: Throws an exception if the list is empty or holds more than 8 colors. .. attribute:: thickness: number The thickness of the path. :Attribute: Can be read or written .. attribute:: start_arrow: boolean Whether an arrow head is drawn at the start. :Attribute: Can be read or written .. attribute:: end_arrow: boolean Whether an arrow head is drawn at the end. :Attribute: Can be read or written .. attribute:: arrow_size: number The size of the arrow heads, relative to the thickness. :Attribute: Can be read or written .. attribute:: dashed: boolean Whether the path is drawn as a dashed line. :Attribute: Can be read or written .. attribute:: label: string The text drawn halfway along the path, facing the camera. Empty for no label. :Attribute: Can be read or written