W3cubDocs

/Haxe C#

Console

package cs.system

Available on cs

Static variables

static BackgroundColor:ConsoleColor

static BufferHeight:Int

static BufferWidth:Int

static read only CapsLock:Bool

static CursorLeft:Int

static CursorSize:Int

static CursorTop:Int

static CursorVisible:Bool

static read only Error:TextWriter

static ForegroundColor:ConsoleColor

static read only In:TextReader

static InputEncoding:Encoding

static read only KeyAvailable:Bool

static read only LargestWindowHeight:Int

static read only LargestWindowWidth:Int

static read only NumberLock:Bool

static read only Out:TextWriter

static OutputEncoding:Encoding

static Title:String

static TreatControlCAsInput:Bool

static WindowHeight:Int

static WindowLeft:Int

static WindowTop:Int

static WindowWidth:Int

Static methods

static Beep ():Void

static Beep (frequency:Int, duration:Int):Void

static Clear ():Void

static MoveBufferArea (sourceLeft:Int, sourceTop:Int, sourceWidth:Int, sourceHeight:Int, targetLeft:Int, targetTop:Int):Void

static MoveBufferArea (sourceLeft:Int, sourceTop:Int, sourceWidth:Int, sourceHeight:Int, targetLeft:Int, targetTop:Int, sourceChar:Char16, sourceForeColor:ConsoleColor, sourceBackColor:ConsoleColor):Void

static OpenStandardError ():Stream

static OpenStandardError (bufferSize:Int):Stream

static OpenStandardInput ():Stream

static OpenStandardInput (bufferSize:Int):Stream

static OpenStandardOutput ():Stream

static OpenStandardOutput (bufferSize:Int):Stream

static Read ():Int

static ReadKey ():ConsoleKeyInfo

static ReadKey (intercept:Bool):ConsoleKeyInfo

static ReadLine ():String

static ResetColor ():Void

static SetBufferSize (width:Int, height:Int):Void

static SetCursorPosition (left:Int, top:Int):Void

static SetError (newError:TextWriter):Void

static SetIn (newIn:TextReader):Void

static SetOut (newOut:TextWriter):Void

static SetWindowPosition (left:Int, top:Int):Void

static SetWindowSize (width:Int, height:Int):Void

static Write (value:Bool):Void

static Write (format:String, arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic):Void

static Write (format:String, arg0:Dynamic, arg1:Dynamic, arg2:Dynamic):Void

static Write (format:String, arg0:Dynamic, arg1:Dynamic):Void

static Write (buffer:NativeArray<Char16>, index:Int, count:Int):Void

static Write (format:String, arg:NativeArray<Dynamic>):Void

static Write (format:String, arg0:Dynamic):Void

static Write (value:UInt64):Void

static Write (value:UInt):Void

static Write (value:String):Void

static Write (value:Single):Void

static Write (value:Dynamic):Void

static Write (value:Int64):Void

static Write (value:Int):Void

static Write (value:Float):Void

static Write (value:Decimal):Void

static Write (buffer:NativeArray<Char16>):Void

static Write (value:Char16):Void

static WriteLine ():Void

static WriteLine (format:String, arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic):Void

static WriteLine (format:String, arg0:Dynamic, arg1:Dynamic, arg2:Dynamic):Void

static WriteLine (format:String, arg0:Dynamic, arg1:Dynamic):Void

static WriteLine (buffer:NativeArray<Char16>, index:Int, count:Int):Void

static WriteLine (format:String, arg:NativeArray<Dynamic>):Void

static WriteLine (format:String, arg0:Dynamic):Void

static WriteLine (value:UInt64):Void

static WriteLine (value:UInt):Void

static WriteLine (value:String):Void

static WriteLine (value:Single):Void

static WriteLine (value:Dynamic):Void

static WriteLine (value:Int64):Void

static WriteLine (value:Int):Void

static WriteLine (value:Float):Void

static WriteLine (value:Decimal):Void

static WriteLine (buffer:NativeArray<Char16>):Void

static WriteLine (value:Char16):Void

static WriteLine (value:Bool):Void

static add_CancelKeyPress (value:ConsoleCancelEventHandler):Void

static remove_CancelKeyPress (value:ConsoleCancelEventHandler):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/Console.html