UNPKG

bcgis-type

Version:

The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.

39 lines (38 loc) 1.03 kB
import Overlay from "../Overlay"; import { T_Position } from "../../common/type"; declare class ImageTrailPolylineVolumePrimitive extends Overlay { private _positions; private _shape; /** * * @param positions 坐标串 * @param holes 空心坐标串 */ constructor(positions: string | T_Position[], shape: any[]); get type(): any; set positions(positions: string | T_Position[]); get positions(): string | T_Position[]; /** * * @private */ private _setAppearance; _mountedHook(): void; /** * 设置风格 * @param style * @returns {WaterPrimitive} * @example * ```json * // 样式参数(可选) * { * "color": Color.WHITE, // 颜色 * "speed": 10, // 速度 * "image": "/img.png", // 材质图片地址 * "repeat": {x:5,y:1}, // 重复规则 * } * ``` */ setStyle(style: any): this; } export default ImageTrailPolylineVolumePrimitive;