Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Geometry

Hierarchy

Index

Properties

Readonly cache

cache: any

The cache is used to store values computed from geometries that need to cleared or recomputed upon mutation.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly extent

extent: Extent

The extent of the geometry.

Read more...

hasM

hasM: boolean

Indicates if the geometry has M values.

Read more...

hasZ

hasZ: boolean

Indicates if the geometry has z-values (elevation).

Read more...

initialized

initialized: boolean

spatialReference

spatialReference: SpatialReference

The spatial reference of the geometry.

Read more...

Readonly type

type: "polygon" | "extent" | "point" | "multipoint" | "polyline" | "mesh"

The geometry type.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Geometry
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Geometry

clone

  • Creates a deep clone of the geometry.

    Read more...

    Returns Geometry

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Geometry

  • Parameters

    Returns Geometry

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc