Exemplo n.º 1
0
 protected override void Init()
 {
     _name        = "图例(纵向)";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 95;
     _size.Height = 80;
 }
Exemplo n.º 2
0
 private void Init()
 {
     _name        = "指北针";
     _icon        = ImageGetter.GetImageByName("IconNorthArrow.png");
     _size.Width  = 15;
     _size.Height = 35;
 }
Exemplo n.º 3
0
 private void Init(SizeF size)
 {
     _name  = "图廓";
     _icon  = ImageGetter.GetImageByName("BorderElement.png");
     _size  = size;
     _brush = new SolidBrush(_backColor);
 }
Exemplo n.º 4
0
 protected override void Init()
 {
     _name        = "渐变图例";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 135;
     _size.Height = 55;
 }
Exemplo n.º 5
0
 public Railway()
     : base()
 {
     _name   = "铁路";
     _bitmap = ImageGetter.GetImageByName("铁路.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon铁路.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 6
0
 public AirPort()
     : base()
 {
     _name   = "机场";
     _bitmap = ImageGetter.GetImageByName("机场.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon机场.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 7
0
 public ContyBorder()
     : base()
 {
     _name   = "县界";
     _bitmap = ImageGetter.GetImageByName("县界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon县界.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 8
0
 public River()
     : base()
 {
     _name   = "河流湖泊";
     _bitmap = ImageGetter.GetImageByName("河流湖泊.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon河流湖泊.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 9
0
 public WaterLandBorder()
     : base()
 {
     _name   = "水陆边界线";
     _bitmap = ImageGetter.GetImageByName("海岸线.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon海岸线.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 10
0
 public ProvinceBorderElement()
     : base()
 {
     _name   = "省界";
     _bitmap = ImageGetter.GetImageByName("省界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon省界.bmp") as Bitmap;
     _size   = _bitmap.Size;
 }
Exemplo n.º 11
0
 public PictureElementZGQXJ()
     : base()
 {
     _name        = "中国气象局图标";
     _bitmap      = ImageGetter.GetImageByName("中国气象局.png") as Bitmap;
     _icon        = ImageGetter.GetImageByName("ElementZGQXJ1.png");
     _bitmapOSize = new Size(_bitmap.Width, _bitmap.Height);
 }
Exemplo n.º 12
0
 public RegionElement()
     : base()
 {
     _name   = "地区界";
     _bitmap = ImageGetter.GetImageByName("地区界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon地区界.bmp");
     _size   = _bitmap.Size;
 }
Exemplo n.º 13
0
 public CityElement()
     : base()
 {
     _name   = "城镇";
     _bitmap = ImageGetter.GetImageByName("Icon城镇.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon城镇.bmp");
     _size   = _bitmap.Size;
 }
 public PictureElementSouthChinaSea134()
     : base()
 {
     _name   = "南海诸岛134_174";
     _icon   = ImageGetter.GetImageByName("南海诸岛16_16.png");
     _bitmap = ImageGetter.GetImageByName("南海诸岛134_174.png") as Bitmap;
     _size   = _bitmap.Size;
 }
Exemplo n.º 15
0
 protected override void Init()
 {
     _name        = "图例(网格)";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 120;
     _size.Height = 60;
     _colCount    = 2;
 }
Exemplo n.º 16
0
 public PictureElementGJWXQXZX()
     : base()
 {
     _name        = "国家卫星气象中心图标";
     _bitmap      = ImageGetter.GetImageByName("国家卫星气象中心.png") as Bitmap;
     _icon        = ImageGetter.GetImageByName("ElementGJWXQXZX1.png");
     _bitmapOSize = new Size(_bitmap.Width, _bitmap.Height);
 }
 public PictureElementSouthChinaSea557()
     : base()
 {
     _name   = "南海诸岛557_720";
     _icon   = ImageGetter.GetImageByName("南海诸岛16_16.png");
     _bitmap = ImageGetter.GetImageByName("南海诸岛557_720.bmp") as Bitmap;
     _size   = _bitmap.Size;
 }
Exemplo n.º 18
0
 protected override void Init()
 {
     _name             = "图例(纵向,指定图例项高度)";
     _icon             = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width       = 95;
     _size.Height      = 80;
     _legendItemHeight = 18;
 }
Exemplo n.º 19
0
 public ContryBorderLine()
     : base()
 {
     _name   = "国境线";
     _bitmap = ImageGetter.GetImageByName("国境线.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon国境线.bmp");
     _size   = _bitmap.Size;
 }
Exemplo n.º 20
0
 private void Init()
 {
     _name      = "自定义文本";
     _icon      = ImageGetter.GetImageByName("IconTextElement.png");
     _fontBrush = new SolidBrush(Color.Black);
     _maskBrush = new SolidBrush(Color.White);
     UpdateSize();
 }
Exemplo n.º 21
0
 public PictureElement(Bitmap bitmap)
     : base()
 {
     _name        = "图片";
     _icon        = ImageGetter.GetImageByName("PictureElement.png");
     _bitmap      = bitmap;
     _bitmapOSize = new Size(_bitmap.Width, _bitmap.Height);
 }
Exemplo n.º 22
0
 public Freeway()
     : base()
 {
     _name   = "高速公路";
     _bitmap = ImageGetter.GetImageByName("高速公路.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon高速公路.png");
     _size   = _bitmap.Size;
 }
Exemplo n.º 23
0
 private void InitRefreshBtn()
 {
     _btnRefresh.Click         += new EventHandler(_btnRefresh_Click);
     _btnRefresh.Dock           = DockStyle.Bottom;
     _btnRefresh.Image          = ImageGetter.GetImageByName("");
     _btnRefresh.Text           = "刷新";
     _btnRefresh.TextAlignment  = ContentAlignment.MiddleCenter;
     _btnRefresh.ImageAlignment = ContentAlignment.MiddleCenter;
 }
Exemplo n.º 24
0
 private void Init()
 {
     _name = "箭头(默认红色)";
     _icon = ImageGetter.GetImageByName("IconArrowRec.png");
     _size.Width = 15;
     _size.Height = 35;
     _pen = new Pen(Color.Black, 0.1f);
     _brush = new SolidBrush(_backColor);
 }
Exemplo n.º 25
0
 private void Init()
 {
     _name = "比例尺条";
     _icon = ImageGetter.GetImageByName("IconScaleBar.png");
     _size = new SizeF(190, 40);
     if (_backColor != null)
     {
         _brush = new SolidBrush(_backColor);
         _pen   = new Pen(_backColor);
     }
     else
     {
         _brush = new SolidBrush(Color.Black);
         _pen   = new Pen(Color.Black);
     }
     if (_parts != null && _parts.Length != 0)
     {
         _count = _parts.Length;
     }
 }