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.

61 lines (60 loc) 1.56 kB
import Overlay from "../Overlay"; import { T_Position } from "../../common/type"; /** * 双箭头 * @noInheritDoc * @example * ```ts * let doubleArrow = new BC.DoubleArrow('-90.0,32.0;-94.0,36.0;-94.0,38.0') * ``` */ declare class DoubleArrow extends Overlay { /** * @hidden */ private _positions; /** * @hidden */ private headHeightFactor; /** * @hidden */ private headWidthFactor; /** * @hidden */ private neckHeightFactor; /** * @hidden */ private neckWidthFactor; /** * @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(pnt1: any, pnt2: any, pnt3: any, clockWise: any): any[]; _getArrowHeadPoints(points: any): any[]; protected _getArrowBodyPoints(points: any, neckLeft: any, neckRight: any, tailWidthFactor: any): any[]; _getTempPoint4(linePnt1: any, linePnt2: any, point: any): any; protected _getHierarchy(): Cesium.PolygonHierarchy; _mountedHook(): void; setLabel(text: string, textStyle: any): this; /** * 设置箭头风格 * 详情参考:@see {@link Polygon} * @param style * @returns {DoubleArrow} */ setStyle(style: any): this; } export default DoubleArrow;