示例#1
0
 public DrawBaseLayer(string pName, Color pColor, World pWorld, DrawArgs drawArgs)
     : base(pName, pWorld)
 {
     this.color    = pColor;
     this.drawArgs = drawArgs;
     this.State    = DrawState.Idle;
     drawTool      = null;
     useTerrain    = false;
 }
示例#2
0
 public DrawBaseLayer(string pName, Color pColor, DrawBaseTool drawTool, DrawArgs drawArgs)
     : this(pName, pColor, drawTool.ParentApplication.CurrentWorld, drawArgs)
 {
     this.drawTool = drawTool;
 }
示例#3
0
 public DrawExtentsLayer(string pName, Color pColor, DrawBaseTool drawTool, DrawArgs drawArgs)
     : base(pName, pColor, drawTool, drawArgs)
 {
     lineColor = Color.FromArgb(255, pColor.R, pColor.G, pColor.B);
 }
示例#4
0
 public DrawPolylineLayer(string pName, Color pColor, DrawBaseTool drawTool, DrawArgs drawArgs)
     : base(pName, pColor, drawTool, drawArgs)
 {
 }