ÎļþÃû´Ó Hydro.MapView/Common/MapView.cs ÐÞ¸Ä |
| | |
| | | |
| | | namespace Hydro.MapView |
| | | { |
| | | public class MapView |
| | | [Serializable] |
| | | public class MapDimensions |
| | | { |
| | | [Category("4ãè§è§")] |
| | | [DisplayName("ä¸å¿")] |
| | |
| | | [Category("4ãè§è§")] |
| | | [DisplayName("缩æ¾")] |
| | | [Browsable(true)] |
| | | public float zoom { get; set; } |
| | | public float zoom { get; set; } = 0.1f; |
| | | |
| | | [Category("4ãè§è§")] |
| | | [DisplayName("æè½¬è§åº¦")] |
| | | [Browsable(true)] |
| | | public double rotation { get; set; } |
| | | public double rotation { get; set; } = 0; |
| | | |
| | | [Category("4ãè§è§")] |
| | | [DisplayName("俯è§è§åº¦")] |
| | | [Browsable(true)] |
| | | public double rotationF { get; set; } |
| | | public double rotationF { get; set; } = 90; |
| | | |
| | | [Category("4ãè§è§")] |
| | | [DisplayName("æ¾ç¤ºæ¥¼å±")] |
| | |
| | | [Browsable(true)] |
| | | public bool isShowPic { get; set; } = true; |
| | | |
| | | public MapView Copy() |
| | | public MapDimensions Copy() |
| | | { |
| | | MapView mv = new MapView(); |
| | | MapDimensions mv = new MapDimensions(); |
| | | mv.Center = Center; |
| | | mv.zoom = zoom; |
| | | mv.rotation = rotation; |