public void Paint(IActor actor, IWorldCoordinate coord, string text) { if (!Enabled) { return; } if (Brush == null) { return; } if (Radius <= 0) { return; } var sc = coord.ToScreenCoordinate(true, true); var screenBorderPadding = Hud.Window.Size.Height * 0.01f; var radius = RadiusTransformator != null?RadiusTransformator.TransformRadius(Radius) : Radius; switch (Shape) { case GroundShape.X: if (Brush.StrokeStyle.DashStyle == SharpDX.Direct2D1.DashStyle.Solid) { _shadowBrush.StrokeWidth = Brush.StrokeWidth >= 0 ? Brush.StrokeWidth + 1 : Brush.StrokeWidth - 1; _shadowBrush.DrawWorldPlus(radius, coord.X, coord.Y, coord.Z); } Brush.DrawWorldPlus(radius, coord.X, coord.Y, coord.Z); break; } }