правка в отрисовке
This commit is contained in:
parent
5d893ed49a
commit
eeead030bb
@ -194,12 +194,6 @@ public class DrawningContainerShip
|
||||
g.DrawEllipse(pen, _startPosX.Value, _startPosY.Value + 60, 25, 25);
|
||||
g.DrawEllipse(pen, _startPosX.Value + 105, _startPosY.Value + 60, 25, 25);
|
||||
|
||||
//палуба
|
||||
|
||||
Brush brYellow = new SolidBrush(Color.LightYellow);
|
||||
g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30);
|
||||
g.FillRectangle(brYellow, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30);
|
||||
|
||||
//кузов
|
||||
|
||||
Brush br = new SolidBrush(EntityContainerShip.BodyColor);
|
||||
@ -208,7 +202,12 @@ public class DrawningContainerShip
|
||||
g.FillRectangle(br, _startPosX.Value + 10, _startPosY.Value + 60, 110, 20);
|
||||
g.FillEllipse(br, _startPosX.Value, _startPosY.Value + 60, 25, 25);
|
||||
g.FillEllipse(br, _startPosX.Value + 105, _startPosY.Value + 60, 25, 25);
|
||||
|
||||
//палуба
|
||||
|
||||
//Brush brYellow = new SolidBrush(Color.LightYellow);
|
||||
g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30);
|
||||
g.FillRectangle(br, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30);
|
||||
// кран
|
||||
|
||||
if (EntityContainerShip.Crane)
|
||||
|
Loading…
Reference in New Issue
Block a user