wrap And Add
open fun wrapAndAdd(supplier: Supplier<Boolean>, doOnJFXThread: DrawCommand<P>): CommandQueueBuilder
Content copied to clipboard
Wraps a DrawCommand
around to the queue to be executed on the JavaFX thread.
Return
this builder
Parameters
do On JFXThread
the action to do
supplier
the boolean supplier that will check if the command should be executed