Added types to PolylineGlowMaterialProperty and PolylineDashMaterialP… (#34610)

* Added types to PolylineGlowMaterialProperty and PolylineDashMaterialProperty [Cesium]

* Fix line length and whitespace [Cesium]

* Fix whitespaces

* Fix PR comments
This commit is contained in:
Jiří Danielka 2019-04-29 19:34:02 +02:00 committed by Wesley Wigham
parent 10c515bb4b
commit 56dde5eb57

View File

@ -2437,18 +2437,26 @@ declare namespace Cesium {
constructor(color?: Property);
}
class PolylineGeometryUpdater extends GeometryUpdater {
readonly depthFailMaterialProperty: MaterialProperty;
readonly distanceDisplayConditionProperty: Property;
constructor(entity: Entity, scene: Scene);
}
class PolylineGlowMaterialProperty extends MaterialProperty {
color: Color;
glowPower: Property;
constructor(options?: { color?: Property; glowPower?: Property });
}
class PolylineDashMaterialProperty extends MaterialProperty {
color: Color;
gapColor: Color;
dashLength: Property;
dashPattern: Property;
constructor(options?: {color?: Color; gapColor?: Color; dashLength?: Property; dashPattern?: Property});
}
class PolylineGeometryUpdater extends GeometryUpdater {
readonly depthFailMaterialProperty: MaterialProperty;
readonly distanceDisplayConditionProperty: Property;
constructor(entity: Entity, scene: Scene);
}
class PolylineGraphics {
definitionChanged: Event;
show: Property;
@ -2457,7 +2465,14 @@ declare namespace Cesium {
width: number;
followSurface: Property;
granularity: Property;
constructor(options?: { positions?: Cartesian3[]; followSurface?: Property; width?: number; show?: Property; material?: MaterialProperty; granularity?: Property });
constructor(options?: {
positions?: Cartesian3[];
followSurface?: Property;
width?: number;
show?: Property;
material?: MaterialProperty;
granularity?: Property
});
clone(result?: PolylineGraphics): PolylineGraphics;
merge(source: PolylineGraphics): PolylineGraphics;
}