# MeasurePolygonAreaOperator

class `Operators.Measure.``MeasurePolygonAreaOperator`()

  This operator allows you to create a polygon and measure its area. Click to add points to the polygon. A cursor will show where the point will be placed. The operator will perform vertex snapping by default. Holding down the alt key will disable this feature. To complete a measurement, double click when placing a point. When there is no active measurement being created, click on a text box to drag and reposition it relative to its anchor point. If a measurement is currently being created, pressing the Escape key will discard it, otherwise the last created measurement will be discarded.

  ## Index

  Methods

  - `_clearMeasurement`
  - `_pickExisting`
  - `addMapping`
  - `clearMapping`
  - `setAnchor`
  - `setMapping`

## Methods

`Operators.Measure.MeasurePolygonAreaOperator.``_clearMeasurement`()
  _clearMeasurement(): void

  Returns: void

`Operators.Measure.MeasurePolygonAreaOperator.``_pickExisting`()
  _pickExisting(selectPoint: `Point2`): boolean

  Parameters

  > selectPoint: `Point2`

  Returns: boolean

`Operators.Measure.MeasurePolygonAreaOperator.``addMapping`()

  inherited

  addMapping(button: `Button`, modifier: `KeyModifiers`?): void

  Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.

  Parameters

  > button: `Button`

  > modifier: `KeyModifiers` = KeyModifiers.None

  Returns: void

`Operators.Measure.MeasurePolygonAreaOperator.``clearMapping`()

  inherited

  clearMapping(): void

  Clears any button and key modifier mappings for the operator.

  Returns: void

`Operators.Measure.MeasurePolygonAreaOperator.``setAnchor`()
  setAnchor(anchor: `MeasurePolygonAreaAnchor`): void

  Sets the anchor type that will be set for markups created by this operator.

  Parameters

  > anchor: `MeasurePolygonAreaAnchor`

  Returns: void

`Operators.Measure.MeasurePolygonAreaOperator.``setMapping`()

  inherited

  setMapping(button: `Button`, modifier: `KeyModifiers`?): void

  Sets the button and key modifier mapping for the operator.

  Parameters

  > button: `Button`

  > modifier: `KeyModifiers` = KeyModifiers.None

  Returns: void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...