WormholeWarningDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(205, 255, 50, 255, 3, SharpDX.Direct2D1.DashStyle.Dash),
Radius = 5f,
},
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(205, 255, 50, 255, 0),
Radius = 4f,
},
new GroundLabelDecorator(Hud)
{
BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
TextFont = Hud.Render.CreateFont("tahoma", 20, 255, 255, 255, 255, true, true, true),
}
);
WormholeDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(160, 255, 50, 255, 3, SharpDX.Direct2D1.DashStyle.Dash),
Radius = 5f,
},
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(160, 255, 50, 255, 0),
Radius = 4f,
},
new GroundLabelDecorator(Hud)
{
TextFont = Hud.Render.CreateFont("tahoma", 9, 160, 255, 255, 255, true, false, 128, 0, 0, 0, true),
}