-
Notifications
You must be signed in to change notification settings - Fork 524
/
Copy pathConvexHullList.xaml
33 lines (33 loc) · 1.65 KB
/
ConvexHullList.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<UserControl x:Class="ArcGIS.WinUI.Samples.ConvexHullList.ConvexHullList"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Border Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock FontWeight="SemiBold" TextWrapping="Wrap">
Click 'Create convex hull' to create convex hull(s) from the polygon
graphics. If 'Union' is checked, the resulting output will
be one polygon that is the convex hull for the two input polygons.
Otherwise, the resulting output will have two convex
hull polygons - one for each of the two input polygons.
</TextBlock>
<CheckBox x:Name="ConvexHullListCheckBox"
Margin="0,5,0,5"
Content="Union"
IsChecked="True" />
<Button x:Name="ConvexHullListButton"
Margin="0,5,0,5"
HorizontalAlignment="Stretch"
Click="ConvexHullListButton_Click"
Content="Create convex hull" />
<Button x:Name="ResetButton"
Margin="0,5,0,5"
HorizontalAlignment="Stretch"
Click="ResetButton_Click"
Content="Reset" />
</StackPanel>
</Border>
</Grid>
</UserControl>