PyConsoleScreenBuffer.FillConsoleOutputAttribute

int = FillConsoleOutputAttribute(Attribute, Length , WriteCoord )

Set text attributes for a consecutive series of characters

Parameters

Attribute : int

Text attributes to be set, combination of FOREGROUND_*, BACKGROUND_*, and COMMON_LVB_* constants

Length : int

The number of characters to set

WriteCoord : PyCOORD

The screen position to begin at

Return Value

Returns the number of character cells whose attributes were set