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); } }
public override void Draw(SpriteBatch spriteBatch, StereotacticPointCollection points) { }
public abstract void Draw(SpriteBatch spriteBatch, StereotacticPointCollection points);