drawPath

public static void drawPath(Path path, String color)

This adds instructions to the current packet to draw a Path with a specified color. If no packet exists, then a new one is created.

Parameters

path

the Path to draw

color

the color to draw the Path with


public static void drawPath(PathChain pathChain, String color)

This adds instructions to the current packet to draw all the Paths in a PathChain with a specified color. If no packet exists, then a new one is created.

Parameters

pathChain

the PathChain to draw

color

the color to draw the PathChain with


public static void drawPath(Canvas c, Array<Array<double>> points)

This draws a Path on the Dashboard from a specified Array of Points.

Parameters

c

the Canvas on the Dashboard on which this will draw

points

the Points to draw