UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

35 lines 779 B
/** @since 5.0 */ export default class DrawCompleteEvent { /** @since 5.0 */ constructor(vertices: number[][]); /** * An array of numbers representing an x,y coordinate pair in the spatial reference of the view. * * @since 5.0 */ coordinates: number[] | null; /** * Set to `true` when `preventDefault()` is called. * * @default false * @since 5.0 */ defaultPrevented: boolean; /** * The type of the event. * * @since 5.0 */ readonly type: "draw-complete"; /** * Two-dimensional array of numbers representing the coordinates of each vertex * that make the geometry. */ vertices: number[][]; /** * Prevents event propagation bubbling up the event chain. * * @since 5.0 */ preventDefault(): void; }