W3cubDocs

/Haxe C#

Console

package cs.system

@:abstract@:final@:libType@:csNative@:native("System.Console") 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

@:final @:overload static Beep ():Void

@:final @:overload static Beep (frequency:Int, duration:Int):Void

@:final @:overload static Clear ():Void

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

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

@:final @:overload static OpenStandardError ():Stream

@:final @:overload static OpenStandardError (bufferSize:Int):Stream

@:final @:overload static OpenStandardInput ():Stream

@:final @:overload static OpenStandardInput (bufferSize:Int):Stream

@:final @:overload static OpenStandardOutput ():Stream

@:final @:overload static OpenStandardOutput (bufferSize:Int):Stream

@:final @:overload static Read ():Int

@:final @:overload static ReadKey ():ConsoleKeyInfo

@:final @:overload static ReadKey (intercept:Bool):ConsoleKeyInfo

@:final @:overload static ReadLine ():String

@:final @:overload static ResetColor ():Void

@:final @:overload static SetBufferSize (width:Int, height:Int):Void

@:final @:overload static SetCursorPosition (left:Int, top:Int):Void

@:final @:overload static SetError (newError:TextWriter):Void

@:final @:overload static SetIn (newIn:TextReader):Void

@:final @:overload static SetOut (newOut:TextWriter):Void

@:final @:overload static SetWindowPosition (left:Int, top:Int):Void

@:final @:overload static SetWindowSize (width:Int, height:Int):Void

@:final @:overload static Write (value:Bool):Void

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

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

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

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

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

@:final @:overload static Write (format:String, arg0:Dynamic):Void

@:final @:overload static Write (value:UInt64):Void

@:final @:overload static Write (value:UInt):Void

@:final @:overload static Write (value:String):Void

@:final @:overload static Write (value:Single):Void

@:final @:overload static Write (value:Dynamic):Void

@:final @:overload static Write (value:Int64):Void

@:final @:overload static Write (value:Int):Void

@:final @:overload static Write (value:Float):Void

@:final @:overload static Write (value:Decimal):Void

@:final @:overload static Write (buffer:NativeArray<Char16>):Void

@:final @:overload static Write (value:Char16):Void

@:final @:overload static WriteLine ():Void

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

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

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

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

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

@:final @:overload static WriteLine (format:String, arg0:Dynamic):Void

@:final @:overload static WriteLine (value:UInt64):Void

@:final @:overload static WriteLine (value:UInt):Void

@:final @:overload static WriteLine (value:String):Void

@:final @:overload static WriteLine (value:Single):Void

@:final @:overload static WriteLine (value:Dynamic):Void

@:final @:overload static WriteLine (value:Int64):Void

@:final @:overload static WriteLine (value:Int):Void

@:final @:overload static WriteLine (value:Float):Void

@:final @:overload static WriteLine (value:Decimal):Void

@:final @:overload static WriteLine (buffer:NativeArray<Char16>):Void

@:final @:overload static WriteLine (value:Char16):Void

@:final @:overload static WriteLine (value:Bool):Void

@:final @:overload static add_CancelKeyPress (value:ConsoleCancelEventHandler):Void

@:final @:overload static remove_CancelKeyPress (value:ConsoleCancelEventHandler):Void

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