addCommand

open fun addCommand(doOnJFXThread: DrawCommand<P>): CommandQueueBuilder

Adds a DrawCommand to the queue to be executed on the JavaFX thread.

Return

this builder

Parameters

doOnJFXThread

the action to do