Envelope.fromXY constructor
- required double xMin,
- required double yMin,
- required double xMax,
- required double yMax,
- SpatialReference? spatialReference,
Creates an envelope based on the x,y coordinates 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.spatialReference
— The spatial reference for the envelope.