mirror of
https://github.com/ethan-zf/cesium-plot-js.git
synced 2025-07-03 22:47:28 +00:00
17 lines
393 B
TypeScript
17 lines
393 B
TypeScript
// @ts-ignore
|
|
import * as CesiumTypeOnly from '@examples/cesium';
|
|
|
|
export type PolygonStyle = {
|
|
fillColor?: CesiumTypeOnly.Color;
|
|
outlineWidth?: number;
|
|
outlineColor?: CesiumTypeOnly.Color;
|
|
};
|
|
|
|
export type LineStyle = {
|
|
lineColor?: CesiumTypeOnly.Color;
|
|
lineWidth?: number;
|
|
};
|
|
|
|
export type State = 'drawing' | 'edit' | 'static';
|
|
export type GeometryStyle = PolygonStyle | LineStyle;
|