visualization-tools

Home > @visualization-tools/cartesian-2d > CanvasLineGraphicsComponent

CanvasLineGraphicsComponent class

Draws lines with or without segments of different colors and sizes.

Signature:

export declare class CanvasLineGraphicsComponent implements IGraphicsComponent<ICanvasComponentRenderer, ICartesian2dUpdateArg<TTypedArray>, TInterleavedPoint2dTrait<TTypedArray>> 

Implements: IGraphicsComponent<ICanvasComponentRenderer, ICartesian2dUpdateArg<TTypedArray>, TInterleavedPoint2dTrait<TTypedArray>>

Properties

Property Modifiers Type Description
specification   {}  
transform   NoTransformProvider  
type   (not declared)  

Methods

Method Modifiers Description
getCacheId()    
initialize()    
onBeforeUpdate()    
update(entity, renderer, updateArg)