Class: StrokeDrawContext
Rendering.WebGL.StrokeDrawContext(randomSeedopt)
Keeps state for last point in strokeRandom generator seed continuation, needed for proper rendering.
Constructor
new StrokeDrawContext(randomSeedopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
randomSeed | int | <optional> | Date.now() / 1000 |
Since:
- version 1.0
Methods
copyTo(drawContext)
Copy current context to another one
Parameters:
Name | Type | Description |
---|---|---|
drawContext | Rendering.WebGL.StrokeDrawContext | copy target |