UNPKG

@arcgis/core

Version:

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

35 lines 690 B
/** @since 5.0 */ export default abstract class VertexAddEvent { /** * Set to true when `preventDefault()` is called. * * @default false * @since 5.0 */ defaultPrevented: boolean; /** * The type of the event. * * @since 5.0 */ readonly type: "vertex-add"; /** * Index of the vertex where the event was applied. * * @since 5.0 */ vertexIndex: number; /** * Two-dimensional array of numbers representing the coordinates of each vertex * that make the geometry. * * @since 5.0 */ vertices: number[][]; /** * Prevents event propagation bubbling up the event chain. * * @since 5.0 */ preventDefault(): void; }