示例#1
0
 public override void Draw(SpriteBatch spriteBatch, StereotacticPointCollection points)
 {
     if (!string.IsNullOrEmpty(Line0) && !string.IsNullOrEmpty(Line1) &&
         points.Contains(Line0) && points.Contains(Line1))
     {
         var line0 = Utilities.GetPointPosition(points[Line0]);
         var line1 = Utilities.GetPointPosition(points[Line1]);
         spriteBatch.DrawVertices(new[] { line0, line1 }, BeginMode.Lines, Color);
     }
 }
示例#2
0
 public override void Draw(SpriteBatch spriteBatch, StereotacticPointCollection points)
 {
 }
 public abstract void Draw(SpriteBatch spriteBatch, StereotacticPointCollection points);