# PointCursor

class Operators.Measure.PointCursor()

Constructors

- `constructor()`

Properties

- `_cursorMarkup`

- `snappingConfig`

Methods

- `activateCursorSprite()`

- `draw()`

- `getSelectionCursorPoints()`

- `onOperatorActivate()`

- `onOperatorDeactivate()`

- `updateCursorSprite()`

## Constructors

PointCursor.constructor(viewer, view)
  Arguments

    - viewer (`WebViewer()`) – None

    - view (`View()`) – None

  Return type

    PointCursor

## Properties

PointCursor._cursorMarkup
  Type

    null | CursorMarkup

PointCursor.snappingConfig
  Type

    SnappingConfig

## Methods

### activateCursorSprite

PointCursor.activateCursorSprite(enable)
  Arguments

    - enable (`boolean()`) – None

  Return type

    void

### draw

PointCursor.draw()
  Return type

    void

### getSelectionCursorPoints

PointCursor.getSelectionCursorPoints(mousePosition, useSnapping, previousPickPoint)
  Arguments

    - mousePosition (`Point2()`) – None

    - useSnapping (`boolean()`) – None

    - previousPickPoint (`null | Point3()`) – None

  Return type

    Promise <null | SelectionPoints>

### onOperatorActivate

PointCursor.onOperatorActivate()
  Return type

    void

### onOperatorDeactivate

PointCursor.onOperatorDeactivate()
  Return type

    void

### updateCursorSprite

PointCursor.updateCursorSprite(mousePosition, useSnapping, firstSelectedPoint)
  Arguments

    - mousePosition (`Point2()`) – None

    - useSnapping (`boolean()`) – None

    - firstSelectedPoint (`null | Point3()`) – None

  Return type

    void