UNPKG

vue-cesium

Version:
101 lines (100 loc) 4.51 kB
import { VcComponentInternalInstance, VcComponentPublicInstance, VcReadyObject } from 'vue-cesium/es/utils/types'; export declare const sphereGeometryOutlineProps: { subdivisions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; slicePartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; stackPartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; radius: NumberConstructor; }; declare const _default: import("vue").DefineComponent<{ subdivisions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; slicePartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; stackPartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; radius: NumberConstructor; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ subdivisions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; slicePartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; stackPartitions: { type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>; default: number; }; radius: NumberConstructor; }>> & { onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; }, { slicePartitions: number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>; stackPartitions: number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>; subdivisions: number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>; }>; export default _default; export type VcGeometrySphereOutlineProps = { /** * The radius of the sphere. */ radius?: number; /** * The number of times to partition the ellipsoid into stacks. * Default value: 64 */ stackPartitions?: number; /** * The number of times to partition the ellipsoid into radial slices. * Default value: 64 */ slicePartitions?: number; /** * The number of points per line, determining the granularity of the curvature . * Default value: 128 */ subdivisions?: number; /** * Triggers before the VcGeometrySphereOutline is loaded */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcGeometrySphereOutline is successfully loaded */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcGeometrySphereOutline is destroyed */ onDestroyed?: (instance: VcComponentInternalInstance) => void; }; export type VcGeometrySphereOutlineRef = VcComponentPublicInstance<VcGeometrySphereOutlineProps>;