Envelope.fromXYM constructor

Envelope.fromXYM({
  1. required double xMin,
  2. required double yMin,
  3. required double xMax,
  4. required double yMax,
  5. required double mMin,
  6. required double mMax,
  7. SpatialReference? spatialReference,
})

Creates an envelope based on the x, y and m values with a spatial reference.

If the values for min parameters are bigger than max parameters then they are re-ordered. The resulting envelope always has min less than or equal to max.

Parameters:

  • xMin — The minimal x-value.
  • yMin — The minimal y-value.
  • xMax — The maximum x-value.
  • yMax — The maximum y-value.
  • mMin — The minimal m-value.
  • mMax — The maximum m-value.
  • spatialReference — The spatial reference for the envelope.