Inheritance: Knot3.Framework.Core.DrawableScreenComponent
示例#1
0
 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)
 {
 }
示例#2
0
 public Border(IScreen screen, DisplayLayer drawOrder, Widget widget)
     : this(screen: screen, drawOrder: drawOrder, widget: widget, lineWidth: 2, padding: 0)
 {
 }
示例#3
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;
 }