Home > @visualization-tools/cartesian-2d > GlLineFlatCapGraphicsComponent
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>>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(cameraBinder, indexedBinder) | Constructs a new instance of the GlLineFlatCapGraphicsComponent class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| specification | IGlProgramSpec | ||
| transform | GlTransformProvider<TGl2ComponentRenderer, IGlIndexedPoint2dTransformBinder<Float32Array>, ICartesian2dUpdateArg<Float32Array>, TInterleavedPoint2dTrait<Float32Array>> | ||
| type | (not declared) |
| Method | Modifiers | Description |
|---|---|---|
| getCacheId() | ||
| getLinkableBinders() | ||
| initialize(componentRenderer) | ||
| onBeforeUpdate(componentRenderer, updateArg) | ||
| update(entity, componentRenderer, updateArg) |