const CompositeColorsTrait: () => (
props: {
color?:
| string
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array
| TensorArray
| ColorLike[],
colors?:
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array
| TensorArray
| ColorLike[]
| ColorLikes[]
| StorageSource
| ParsedBundle<any>
| ParsedModule<any>
| LambdaSource<ShaderModule<any>>
| TextureSource,
opacity?: number,
},
parsed: {
color?: Float32Array,
colors?: Float32Array,
},
) => void
packages / plot / src / traits.ts