.. default-domain:: java .. highlight:: java .. package:: krpc.client.services.Drawing Path ==== .. type:: public class Path The base class of orbit paths and of the paths whose points are in a reference frame. | Base class: :type:`Drawable` | Derived classes: :type:`FramedPath`, :type:`OrbitPath` .. container:: inherited-members .. rubric:: Inherited Members * From :type:`Drawable`: :meth:`getVisible `, :meth:`setVisible `, :meth:`getColor `, :meth:`setColor `, :meth:`getMaterial `, :meth:`setMaterial `, :meth:`remove ` .. method:: java.util.List getColors() .. method:: void setColors(java.util.List value) The colors of the path, blended evenly from its start to its end. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Throws an exception if the list is empty or holds more than 8 colors. .. method:: float getThickness() .. method:: void setThickness(float value) The thickness of the path. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: boolean getStartArrow() .. method:: void setStartArrow(boolean value) Whether an arrow head is drawn at the start. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: boolean getEndArrow() .. method:: void setEndArrow(boolean value) Whether an arrow head is drawn at the end. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: float getArrowSize() .. method:: void setArrowSize(float value) The size of the arrow heads, relative to the thickness. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: boolean getDashed() .. method:: void setDashed(boolean value) Whether the path is drawn as a dashed line. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: String getLabel() .. method:: void setLabel(String value) The text drawn halfway along the path, facing the camera. Empty for no label. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph