убрал лишний предмет
This commit is contained in:
parent
1ed3ddbdbd
commit
373a50c33e
@ -172,7 +172,6 @@ public class DrawningBus
|
||||
if (EntityBus == null || !_startPosX.HasValue || !_startPosY.HasValue)
|
||||
return;
|
||||
|
||||
|
||||
//диски
|
||||
Brush brWhite = new SolidBrush(Color.White);
|
||||
g.FillEllipse(brWhite, _startPosX.Value, _startPosY.Value + 25, 20, 15);
|
||||
@ -182,13 +181,12 @@ public class DrawningBus
|
||||
g.FillEllipse(brWheel, _startPosX.Value + 50, _startPosY.Value + 25, 20, 15);
|
||||
g.FillEllipse(brWheel, _startPosX.Value + 110, _startPosY.Value + 25, 20, 15);
|
||||
g.FillEllipse(brWheel, _startPosX.Value + 160, _startPosY.Value + 25, 20, 15);
|
||||
|
||||
//кузов
|
||||
Brush br = new SolidBrush(EntityBus.BodyColor);
|
||||
g.FillRectangle(br, _startPosX.Value, _startPosY.Value, 70, 30);
|
||||
g.FillRectangle(br, _startPosX.Value + 110, _startPosY.Value, 70, 30);
|
||||
|
||||
g.FillRectangle(br, _startPosX.Value +70, _startPosY.Value, 40, 30);
|
||||
|
||||
g.DrawRectangle(new Pen(Color.Black), _startPosX.Value, _startPosY.Value, 70, 30);
|
||||
g.DrawRectangle(new Pen(Color.Black), _startPosX.Value + 110, _startPosY.Value, 70, 30);
|
||||
|
||||
@ -197,6 +195,7 @@ public class DrawningBus
|
||||
g.DrawEllipse(penWheel, _startPosX.Value + 50, _startPosY.Value + 25, 20, 15);
|
||||
g.DrawEllipse(penWheel, _startPosX.Value + 110, _startPosY.Value + 25, 20, 15);
|
||||
g.DrawEllipse(penWheel, _startPosX.Value + 160, _startPosY.Value + 25, 20, 15);
|
||||
|
||||
//двери
|
||||
Brush brDoor = new SolidBrush(Color.Black);
|
||||
g.FillRectangle(brDoor, _startPosX.Value + 45, _startPosY.Value + 10, 5, 20);
|
||||
|
Loading…
x
Reference in New Issue
Block a user