示例#1
0
 protected override void Init()
 {
     _name        = "图例(纵向)";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 95;
     _size.Height = 80;
 }
示例#2
0
 private void Init()
 {
     _name        = "指北针";
     _icon        = ImageGetter.GetImageByName("IconNorthArrow.png");
     _size.Width  = 15;
     _size.Height = 35;
 }
示例#3
0
 private void Init(SizeF size)
 {
     _name  = "图廓";
     _icon  = ImageGetter.GetImageByName("BorderElement.png");
     _size  = size;
     _brush = new SolidBrush(_backColor);
 }
示例#4
0
 protected override void Init()
 {
     _name        = "渐变图例";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 135;
     _size.Height = 55;
 }
示例#5
0
 public Railway()
     : base()
 {
     _name   = "铁路";
     _bitmap = ImageGetter.GetImageByName("铁路.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon铁路.png");
     _size   = _bitmap.Size;
 }
示例#6
0
 public AirPort()
     : base()
 {
     _name   = "机场";
     _bitmap = ImageGetter.GetImageByName("机场.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon机场.png");
     _size   = _bitmap.Size;
 }
示例#7
0
 public ContyBorder()
     : base()
 {
     _name   = "县界";
     _bitmap = ImageGetter.GetImageByName("县界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon县界.png");
     _size   = _bitmap.Size;
 }
示例#8
0
 public River()
     : base()
 {
     _name   = "河流湖泊";
     _bitmap = ImageGetter.GetImageByName("河流湖泊.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon河流湖泊.png");
     _size   = _bitmap.Size;
 }
示例#9
0
 public WaterLandBorder()
     : base()
 {
     _name   = "水陆边界线";
     _bitmap = ImageGetter.GetImageByName("海岸线.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon海岸线.png");
     _size   = _bitmap.Size;
 }
示例#10
0
 public ProvinceBorderElement()
     : base()
 {
     _name   = "省界";
     _bitmap = ImageGetter.GetImageByName("省界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon省界.bmp") as Bitmap;
     _size   = _bitmap.Size;
 }
示例#11
0
 public PictureElementZGQXJ()
     : base()
 {
     _name        = "中国气象局图标";
     _bitmap      = ImageGetter.GetImageByName("中国气象局.png") as Bitmap;
     _icon        = ImageGetter.GetImageByName("ElementZGQXJ1.png");
     _bitmapOSize = new Size(_bitmap.Width, _bitmap.Height);
 }
示例#12
0
 public RegionElement()
     : base()
 {
     _name   = "地区界";
     _bitmap = ImageGetter.GetImageByName("地区界.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon地区界.bmp");
     _size   = _bitmap.Size;
 }
示例#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;
 }
示例#15
0
 protected override void Init()
 {
     _name        = "图例(网格)";
     _icon        = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width  = 120;
     _size.Height = 60;
     _colCount    = 2;
 }
示例#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;
 }
示例#18
0
 protected override void Init()
 {
     _name             = "图例(纵向,指定图例项高度)";
     _icon             = ImageGetter.GetImageByName("Icon图例.png");
     _size.Width       = 95;
     _size.Height      = 80;
     _legendItemHeight = 18;
 }
示例#19
0
 public ContryBorderLine()
     : base()
 {
     _name   = "国境线";
     _bitmap = ImageGetter.GetImageByName("国境线.bmp") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon国境线.bmp");
     _size   = _bitmap.Size;
 }
示例#20
0
 private void Init()
 {
     _name      = "自定义文本";
     _icon      = ImageGetter.GetImageByName("IconTextElement.png");
     _fontBrush = new SolidBrush(Color.Black);
     _maskBrush = new SolidBrush(Color.White);
     UpdateSize();
 }
示例#21
0
 public PictureElement(Bitmap bitmap)
     : base()
 {
     _name        = "图片";
     _icon        = ImageGetter.GetImageByName("PictureElement.png");
     _bitmap      = bitmap;
     _bitmapOSize = new Size(_bitmap.Width, _bitmap.Height);
 }
示例#22
0
 public Freeway()
     : base()
 {
     _name   = "高速公路";
     _bitmap = ImageGetter.GetImageByName("高速公路.png") as Bitmap;
     _icon   = ImageGetter.GetImageByName("Icon高速公路.png");
     _size   = _bitmap.Size;
 }
示例#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;
 }
示例#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);
 }
示例#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;
     }
 }