Method Expand
Expand(Double)
Scales the envelope by the given factor.
Declaration
public void Expand(double factor)
Parameters
Type | Name | Description |
---|---|---|
System.Double | factor | The factor to scale the envelope by. |
Remarks
A factor
< 1.0 shrinks the envelope, and a factor
> 1.0 expands it.
The envelope's center remains unchanged, but its corners change.
This is the same as calling Expand(MapPoint, Double) with the envelope's center.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Clip geometry: Clip a geometry with another geometry.
Edit and sync features: Synchronize offline edits with a feature service.
Expand(MapPoint, Double)
Scales the envelope around an anchor point by the given factor.
Declaration
public void Expand(MapPoint anchor, double factor)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | anchor | A point within the envelope to expand from. |
System.Double | factor | The factor to scale the envelope by. |
Remarks
A factor
< 1.0 shrinks the envelope, and a factor
> 1.0 expands it.
The specified anchor
point of the envelope remains unchanged, but the envelope's corners change.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |