SymbolAnchor constructor

SymbolAnchor({
  1. required double x,
  2. required double y,
  3. double z = 0,
  4. SymbolAnchorPlacementMode placementMode = SymbolAnchorPlacementMode.relative,
})

Creates a symbol anchor and sets up the properties.

The function sets up the SymbolAnchor with the provided arguments.

Parameters:

  • x — The x-component of the anchor point.
  • y — The y-component of the anchor point.
  • z — The z-component of the anchor point.
  • placementMode — The anchor placement mode to use for the anchor values.