expandBy method

void expandBy(
  1. double factor, {
  2. ArcGISPoint? anchor,
})

Expands the envelope at the anchor point by the given factor.

A factor of less than 1.0 shrinks the envelope and greater than 1.0 expands it.

Parameters:

  • factor — The factor to scale the envelope by.
  • anchor — The point at which to anchor the expansion. If null, EnvelopeBuilder.center is used as the anchor point.