vue-cesium-jyt
Version:
Vue 3.x components for CesiumJS.
216 lines (215 loc) • 8.74 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type { VcComponentInternalInstance } from 'vue-cesium/es/utils/types';
import { VcPosition, VcCallbackPropertyFunction, VcMaterial, VcColor, VcDistanceDisplayCondition } from 'vue-cesium/es/utils/types';
export declare const boxGraphicsProps: {
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
heightReference: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
};
dimensions: {
type: import("vue").PropType<VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
};
declare const _default: import("vue").DefineComponent<{
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
heightReference: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
};
dimensions: {
type: import("vue").PropType<VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}, () => 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: import("vue-cesium/es/utils/types").VcReadyObject) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
heightReference: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
};
dimensions: {
type: import("vue").PropType<VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>> & {
onBeforeLoad?: (instance: VcComponentInternalInstance) => any;
onReady?: (readyObj: import("vue-cesium/es/utils/types").VcReadyObject) => any;
onDestroyed?: (instance: VcComponentInternalInstance) => any;
}, {
fill: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
show: boolean;
material: VcMaterial;
outline: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
outlineColor: VcColor;
outlineWidth: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
}>;
export default _default;
export declare type VcGraphicsBoxProps = {
/**
* A boolean Property specifying the visibility of the billboard.
* Default value: true
*/
show?: boolean;
/**
* Gets or sets Cartesian3 Property property specifying the length, width, and height of the box.
*/
dimensions?: VcPosition;
/**
* Gets or sets the Property specifying the HeightReference.
* Default Value: HeightReference.NONE
*/
heightReference?: number | Cesium.HeightReference | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
*Gets or sets the boolean Property specifying whether the box is filled with the provided material.
*Default Value: true
*/
fill?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
/**
* Gets or sets the material used to fill the box.
* Default Value: Color.WHITE
*/
material?: VcMaterial;
/**
* Gets or sets the Property specifying whether the box is outlined.
* Default Value: false
*/
outline?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
/**
* Gets or sets the Property specifying the Color of the outline.
* Default Value: Color.BLACK
*/
outlineColor?: VcColor;
/**
* Gets or sets the numeric Property specifying the width of the outline.
* Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40}.
* Default Value: 1.0
*/
outlineWidth?: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
* Get or sets the enum Property specifying whether the box casts or receives shadows from light sources.
* Default Value: ShadowMode.DISABLED
*/
shadows?: number | Cesium.ShadowMode | VcCallbackPropertyFunction<number>;
/**
* Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this box will be displayed.
*/
distanceDisplayCondition?: VcDistanceDisplayCondition;
};