public override void Trace(ColorBoard board, Writing writing, int diff) { board.SetPixelColor(writing.X + diff, writing.Y, Color); board.SetPixelColor(writing.X + diff, writing.Y + 1, Color); board.SetPixelColor(writing.X + diff, writing.Y + 2, Color); board.SetPixelColor(writing.X + diff, writing.Y + 4, Color); }
public void Draw(ColorBoard board) { int county = Y; while (county < Y + Height) { int countx = X; while (countx < X + Width) { board.SetPixelColor(countx, county, Color); ++countx; } ++county; } }