refactor: 拆分几何对象类的可选配置项类型接口定义
parent
4f2823f073
commit
ade03bc747
@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* @Author: cbwu 504-wuchengbo@htsdfp.com
|
||||||
|
* @Date: 2024-04-13 10:36:06
|
||||||
|
* @LastEditors: cbwu
|
||||||
|
* @LastEditTime: 2024-04-13 10:56:26
|
||||||
|
* @Description:
|
||||||
|
*/
|
||||||
|
import { Color, Cartesian2 } from 'cesium'
|
||||||
|
export interface EntityOptions {
|
||||||
|
id?: string
|
||||||
|
name?: string
|
||||||
|
show?: boolean
|
||||||
|
pixelSize?: number
|
||||||
|
outlineColor?: Color
|
||||||
|
color?: Color
|
||||||
|
fillColor?: Color
|
||||||
|
fill?: boolean
|
||||||
|
width?: number
|
||||||
|
outlineWidth?: number
|
||||||
|
text?: string
|
||||||
|
font?: string
|
||||||
|
pixelOffset?: Cartesian2
|
||||||
|
image?: string
|
||||||
|
imageWidth?: number
|
||||||
|
imageHeight?: number
|
||||||
|
}
|
Loading…
Reference in New Issue