PowerArgs.Cli.ConsoleBitmap.GetScope C# (CSharp) Method

GetScope() public method

public GetScope ( ) : Rectangle
return Rectangle
        public Rectangle GetScope()
        {
            return this.scope;
        }

Usage Example

Example #1
0
 protected override void OnPaint(ConsoleBitmap context)
 {
     foreach (var control in Controls)
     {
         Rectangle scope = context.GetScope();
         try
         {
             context.Rescope(control.X, control.Y, control.Width, control.Height);
             control.Paint(context);
         }
         finally
         {
             context.Scope(scope);
         }
     }
 }
All Usage Examples Of PowerArgs.Cli.ConsoleBitmap::GetScope