UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

43 lines (42 loc) 1.63 kB
import { EntityEidType, BasicInfoAtomType, IPolylineATom, VisibleAtomType, EntityFlagAtomType, EntityOutlinerAtomType } from '../data-type'; /** * @interface PathType * @extends EntityEidType,Partial<BasicInfoAtomType>,Partial<VisibleAtomType>,Partial<EntityFlagAtomType> * @param {Partial<PathEntityAtomType>} pathStyle (optional) * @param {Partial<IPolylineATom>} polyline (optional) */ export interface PathType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<VisibleAtomType>, Partial<EntityFlagAtomType>, Partial<EntityOutlinerAtomType> { pathStyle?: Partial<PathEntityAtomType>; polyline?: Partial<IPolylineATom>; } /** * @interface PathEntityAtomType * @param {string} type * @param {number} width * @param {string} color * @param {string} passColor */ export interface PathEntityAtomType { type: string; width: number; speedupFactor: number; opacity: number; color: string; passColor: string; } /** * @interface IGenerate * @param {Partial<PathEntityAtomType>} PathEntityAtom (optional) * @param {Partial<BasicInfoAtomType>} BasicInfoAtom (optional) * @param {Partial<IPolylineATom>} PolylineAtom (optional) * @param {Partial<VisibleAtomType>} VisibleAtom (optional) * @param {Partial<EntityFlagAtomType>} EntityFlagAtom (optional) */ export interface IGenerate { PathEntityAtom?: Partial<PathEntityAtomType>; BasicInfoAtom?: Partial<BasicInfoAtomType>; PolylineAtom?: Partial<IPolylineATom>; VisibleAtom?: Partial<VisibleAtomType>; EntityFlagAtom?: Partial<EntityFlagAtomType>; EntityOutlinerAtom?: Partial<EntityOutlinerAtomType>; }