Home > @visualization-tools/cartesian-2d > GlCaplessLineGraphicsComponent
Draws lines without caps, without generating any intermediate geometry. Caps can be added by combining with a cap drawing component. Handles sizes and colors per point.
Signature:
export declare class GlCaplessLineGraphicsComponent 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 GlCaplessLineGraphicsComponent 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) |