mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
// Type definitions for Microsoft.Maps.AdvancedShapes 7.0
|
|
// Project: http://msdn.microsoft.com/en-us/library/hh921952.aspx
|
|
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace Microsoft.Maps.AdvancedShapes {
|
|
|
|
export class EntityCollection {
|
|
|
|
constructor(options?: EntityCollectionOptions);
|
|
|
|
clear(): void;
|
|
get(index: number): Entity;
|
|
getLength(): number;
|
|
getVisible(): boolean;
|
|
getZIndex(): number;
|
|
indexOf(entity: Entity): number;
|
|
insert(entity: Entity, index: number): void;
|
|
pop(): Entity;
|
|
push(entity: Entity): void;
|
|
remove(entity: Entity): Entity;
|
|
removeAt(index: number): Entity;
|
|
setOptions(options: EntityCollectionOptions): void;
|
|
toString(): string;
|
|
}
|
|
|
|
export class Polygon implements Entity {
|
|
|
|
constructor(locations: Array<Location>, options?: PolygonOptions);
|
|
|
|
getFillColor(): Color;
|
|
getLocations(): Array<Location>;
|
|
getStrokeColor(): Color;
|
|
getStrokeDashArray(): string;
|
|
getStrokeThickness(): number;
|
|
getVisible(): boolean;
|
|
setLocations(locations: Location[]): void;
|
|
setOptions(options: PolylineOptions): void;
|
|
toString(): string;
|
|
}
|
|
|
|
}
|