Skip to main content

Class: InkPathProducer

InkPathProducer()

Provides parallel path building of strokes over all available CPU cores

Constructor

new InkPathProducer()

Extends

Methods

(async) broadcast()

Bulk execution of action to all workers

Overrides:

close()

Terminate all underlying workers

Overrides:

importBrushes(brushes)

Parameters:
NameTypeDescription
brushesArray.<Rendering.Brush>

(async) open()

Generate n workers based on CPU cores. Invokes worker INIT action.

Overrides:

(abstract) updateProgress(value, expected)

Reports build progress

Parameters:
NameTypeDescription
valuefloatPercent of processed tasks
expectedintCount of tasks that are not processed yet

Overrides:

Home