Class PolygonViewModel
Inheritance
System.Object
PolygonViewModel
Assembly: Simplic.PlugIn.SAC.dll
public class PolygonViewModel : ViewModelBase
Constructors
|
Improve this Doc
View Source
Declaration
public PolygonViewModel()
|
Improve this Doc
View Source
Declaration
public PolygonViewModel(Contact.GeoFence geoFence)
Parameters
|
Improve this Doc
View Source
Declaration
public PolygonViewModel(ObservableCollection<PointViewModel> points, string name)
Parameters
Type |
Name |
Description |
System.Collections.ObjectModel.ObservableCollection<PointViewModel> |
points |
|
System.String |
name |
|
Properties
|
Improve this Doc
View Source
Declaration
public Color Color { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
|
Improve this Doc
View Source
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public ObservableCollection<PointViewModel> Points { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<PointViewModel> |
|
Methods
|
Improve this Doc
View Source
Declaration
public void ChangePointLocation(Location oldLocation, Location newLocation)
Parameters
Type |
Name |
Description |
Location |
oldLocation |
|
Location |
newLocation |
|
|
Improve this Doc
View Source
Declaration
public Contact.GeoFence GetAsModel()
Returns
|
Improve this Doc
View Source
Declaration
public void MovePolygon(double latitude, double longitude)
Parameters
Type |
Name |
Description |
System.Double |
latitude |
|
System.Double |
longitude |
|