12345678910111213141516 |
- import {
- ColorDimensionConfig,
- DimensionSupplier,
- ResourceDimensionConfig,
- ScalarDimensionConfig,
- ScaleDimensionConfig,
- TextDimensionConfig,
- } from './types';
- export interface DimensionContext {
- getColor(color: ColorDimensionConfig): DimensionSupplier<string>;
- getScale(scale: ScaleDimensionConfig): DimensionSupplier<number>;
- getScalar(scalar: ScalarDimensionConfig): DimensionSupplier<number>;
- getText(text: TextDimensionConfig): DimensionSupplier<string>;
- getResource(resource: ResourceDimensionConfig): DimensionSupplier<string>;
- }
|