правка в отрисовке
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, _startPosY.Value + 60, 25, 25);
|
||||||
g.DrawEllipse(pen, _startPosX.Value + 105, _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);
|
Brush br = new SolidBrush(EntityContainerShip.BodyColor);
|
||||||
@ -209,6 +203,11 @@ public class DrawningContainerShip
|
|||||||
g.FillEllipse(br, _startPosX.Value, _startPosY.Value + 60, 25, 25);
|
g.FillEllipse(br, _startPosX.Value, _startPosY.Value + 60, 25, 25);
|
||||||
g.FillEllipse(br, _startPosX.Value + 105, _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)
|
if (EntityContainerShip.Crane)
|
||||||
|
Loading…
Reference in New Issue
Block a user