public Border(IScreen screen, DisplayLayer drawOrder, Widget widget, int lineWidth, int padding) : this(screen: screen, drawOrder: drawOrder, widget: widget, lineWidth: lineWidth, padding: lineWidth, lineColor: Design.DefaultLineColor, outlineColor: Design.DefaultOutlineColor) { }
public Border(IScreen screen, DisplayLayer drawOrder, Widget widget) : this(screen: screen, drawOrder: drawOrder, widget: widget, lineWidth: 2, padding: 0) { }
public Border(IScreen screen, DisplayLayer drawOrder, Widget widget, int lineWidth, int padding, Color lineColor, Color outlineColor) : this(screen, drawOrder, widget.Bounds, lineWidth, padding, lineColor, outlineColor) { OnUpdate += (time) => IsVisible = lines.IsVisible = widget.IsVisible; }