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.

72 lines (71 loc) 1.72 kB
import Overlay from "../Overlay"; import { T_Position } from "../../common/type"; /** * 燕尾箭头 * @noInheritDoc * @example * ```ts * let tailedAttackArrow = new BC.TailedAttackArrow('-90.0,32.0;-94.0,36.0;-94.0,38.0') * ``` */ declare class TailedAttackArrow extends Overlay { /** * @hidden */ private _positions; /** * @hidden */ private headHeightFactor; /** * @hidden */ private headWidthFactor; /** * @hidden */ private neckHeightFactor; /** * @hidden */ private neckWidthFactor; /** * @hidden */ private tailWidthFactor; /** * @hidden */ private headTailFactor; /** * @hidden */ private swallowTailFactor; /** * @hidden */ private _primitive; /** * @param {T_Position} positions * @return {*} */ constructor(positions: T_Position[]); get type(): any; set positions(positions: T_Position[]); get positions(): T_Position[]; protected _updatePrimitive(): void; _getArrowPoints(positions: any): any[]; _getArrowHeadPoints(points: any, tailLeft: any, tailRight: any): any[]; protected _getArrowBodyPoints(points: any, neckLeft: any, neckRight: any, tailWidthFactor: any): any[]; protected _getHierarchy(): Cesium.PolygonHierarchy; _mountedHook(): void; setLabel(text: string, textStyle: any): this; /** * 设置箭头风格 * 详情参考:@see {@link Polygon} * @param style * @returns {TailedAttackArrow} */ setStyle(style: any): this; } export default TailedAttackArrow;