mirror of
https://github.com/ethan-zf/cesium-plot-js.git
synced 2025-06-24 03:27:29 +00:00
docs
This commit is contained in:
parent
d7ee304f48
commit
04478c86d3
40
README.md
40
README.md
@ -44,26 +44,26 @@ import CesiumPlot from 'cesium-plot-js';
|
|||||||
|
|
||||||
每个图形为独立的类,绑定事件或其他操作通过类的实例来实现
|
每个图形为独立的类,绑定事件或其他操作通过类的实例来实现
|
||||||
|
|
||||||
| 类名 | 类型 | 描述 |
|
| 类名 | 类型 | 描述 | 生长动画 |
|
||||||
| ---------------------- | --------- | ---------------- |
|
| ---------------------- | --------- | ---------------- | -------- |
|
||||||
| Polygon | 'polygon' | 多边形 |
|
| Polygon | 'polygon' | 多边形 | ❌ |
|
||||||
| Reactangle | 'polygon' | 矩形 |
|
| Reactangle | 'polygon' | 矩形 | ❌ |
|
||||||
| Triangle | 'polygon' | 三角形 |
|
| Triangle | 'polygon' | 三角形 | ❌ |
|
||||||
| Circle | 'polygon' | 圆形 |
|
| Circle | 'polygon' | 圆形 | ❌ |
|
||||||
| StraightArrow | 'line' | 细直箭头 |
|
| StraightArrow | 'line' | 细直箭头 | ✔️ |
|
||||||
| CurvedArrow | 'line' | 曲线箭头 |
|
| CurvedArrow | 'line' | 曲线箭头 | ✔️ |
|
||||||
| FineArrow | 'polygon' | 直箭头 |
|
| FineArrow | 'polygon' | 直箭头 | ✔️ |
|
||||||
| AttackArrow | 'polygon' | 进攻方向箭头 |
|
| AttackArrow | 'polygon' | 进攻方向箭头 | ✔️ |
|
||||||
| SwallowtailAttackArrow | 'polygon' | 燕尾进攻方向箭头 |
|
| SwallowtailAttackArrow | 'polygon' | 燕尾进攻方向箭头 | ✔️ |
|
||||||
| SquadCombat | 'polygon' | 分队战斗方向 |
|
| SquadCombat | 'polygon' | 分队战斗方向 | ✔️ |
|
||||||
| SwallowtailSquadCombat | 'polygon' | 燕尾分队战斗方向 |
|
| SwallowtailSquadCombat | 'polygon' | 燕尾分队战斗方向 | ✔️ |
|
||||||
| AssaultDirection | 'polygon' | 突击方向 |
|
| AssaultDirection | 'polygon' | 突击方向 | ✔️ |
|
||||||
| DoubleArrow | 'polygon' | 双箭头 |
|
| DoubleArrow | 'polygon' | 双箭头 | ✔️ |
|
||||||
| FreehandLine | 'line' | 自由线 |
|
| FreehandLine | 'line' | 自由线 | ❌ |
|
||||||
| FreehandPolygon | 'polygon' | 自由面 |
|
| FreehandPolygon | 'polygon' | 自由面 | ❌ |
|
||||||
| Curve | 'line' | 曲线 |
|
| Curve | 'line' | 曲线 | ❌ |
|
||||||
| Ellipse | 'polygon' | 椭圆 |
|
| Ellipse | 'polygon' | 椭圆 | ❌ |
|
||||||
| Lune | 'polygon' | 半月面 |
|
| Lune | 'polygon' | 半月面 | ❌ |
|
||||||
|
|
||||||
### 构造函数
|
### 构造函数
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
import * as CesiumTypeOnly from 'cesium';
|
import * as CesiumTypeOnly from 'cesium';
|
||||||
|
|
||||||
export type PolygonStyle = {
|
export type PolygonStyle = {
|
||||||
material?: CesiumTypeOnly.MaterialProperty;
|
material?: CesiumTypeOnly.MaterialProperty | CesiumTypeOnly.Color;
|
||||||
outlineWidth?: number;
|
outlineWidth?: number;
|
||||||
outlineMaterial?: CesiumTypeOnly.MaterialProperty;
|
outlineMaterial?: CesiumTypeOnly.MaterialProperty | CesiumTypeOnly.Color;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LineStyle = {
|
export type LineStyle = {
|
||||||
|
Loading…
Reference in New Issue
Block a user