TrajectoryProgressSubSlider

constructor(entity: RoadRunnerBotEntity, maxTrajectoryDuration: Double, sliderWidth: Int, sliderHeight: Int, fg: Color, bg: Color, textColor: Color, font: Font? = null)

Parameters

entity

The RoadRunnerBotEntity whose trajectory progress is being displayed.

maxTrajectoryDuration

The maximum duration of the trajectory.

sliderWidth

The width of the slider.

sliderHeight

The height of the slider.

fg

The foreground color of the progress bar.

bg

The background color of the progress bar.

textColor

The color of the text displaying the progress.

font

The font used for the text displaying the progress.