CanvasComponent
class CanvasComponent(layerType: CanvasLayerType = DEFAULT_CANVAS_LAYER_TYPE, matrixPoolSize: Int = CanvasState.DEFAULT_MATRIX_POOL_SIZE, pathCacheSize: Int = CanvasState.DEFAULT_PATH_CACHE_SIZE, style: Style? = null, block: CanvasScope.() -> Unit) : PrimitiveComponent
The Canvas Component which provides a means for drawing 2D graphics.
Constructors
Link copied to clipboard
constructor(layerType: CanvasLayerType = DEFAULT_CANVAS_LAYER_TYPE, matrixPoolSize: Int = CanvasState.DEFAULT_MATRIX_POOL_SIZE, pathCacheSize: Int = CanvasState.DEFAULT_PATH_CACHE_SIZE, style: Style? = null, block: CanvasScope.() -> Unit)