Path#

class Drawing.Path()#

The base class of orbit paths and of the paths whose points are in a reference frame.

Base class: Drawing.Drawable
Path.getColors()#
Path.setColors(value)#

The colors of the path, blended evenly from its start to its end.

Property:

Can be read or written

Return type:

Array of 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.

Path.getThickness()#
Path.setThickness(value)#

The thickness of the path.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Path.getStartArrow()#
Path.setStartArrow(value)#

Whether an arrow head is drawn at the start.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Path.getEndArrow()#
Path.setEndArrow(value)#

Whether an arrow head is drawn at the end.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Path.getArrowSize()#
Path.setArrowSize(value)#

The size of the arrow heads, relative to the thickness.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Path.getDashed()#
Path.setDashed(value)#

Whether the path is drawn as a dashed line.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Path.getLabel()#
Path.setLabel(value)#

The text drawn halfway along the path, facing the camera. Empty for no label.

Property:

Can be read or written

Return type:

string

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph