visualization-tools

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

GlLineFlatCapGraphicsComponent class

Draws line caps, to be used with GlCaplessLineGraphicsComponent. Handles sizes and colors per point.

Signature:

export declare class GlLineFlatCapGraphicsComponent implements ILinkableGraphicsComponent<TGl2ComponentRenderer, ICartesian2dUpdateArg<Float32Array>, TInterleavedPoint2dTrait<Float32Array>> 

Implements: ILinkableGraphicsComponent<TGl2ComponentRenderer, ICartesian2dUpdateArg<Float32Array>, TInterleavedPoint2dTrait<Float32Array>>

Constructors

Constructor Modifiers Description
(constructor)(cameraBinder, indexedBinder)   Constructs a new instance of the GlLineFlatCapGraphicsComponent class

Properties

Property Modifiers Type Description
specification   IGlProgramSpec  
transform   GlTransformProvider<TGl2ComponentRenderer, IGlIndexedPoint2dTransformBinder<Float32Array>, ICartesian2dUpdateArg<Float32Array>, TInterleavedPoint2dTrait<Float32Array>>  
type   (not declared)  

Methods

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