cesium-plot-js/src/interface.ts

17 lines
393 B
TypeScript
Raw Normal View History

2023-08-23 03:49:11 +00:00
// @ts-ignore
import * as CesiumTypeOnly from '@examples/cesium';
export type PolygonStyle = {
fillColor?: CesiumTypeOnly.Color;
outlineWidth?: number;
outlineColor?: CesiumTypeOnly.Color;
};
export type LineStyle = {
2023-08-23 03:49:11 +00:00
lineColor?: CesiumTypeOnly.Color;
lineWidth?: number;
};
2023-08-14 09:47:59 +00:00
export type State = 'drawing' | 'edit' | 'static';
export type GeometryStyle = PolygonStyle | LineStyle;