Navigation:  thinBasic Modules > Console >

Console_ColorAt

Previous pageReturn to chapter overviewNext page

 

Description

 

Set color attribute at a specific x, y location for a specified length or for a text region.

 

Syntax

 

Console_ColorAt(x1, y1, len, Color)

 

or alternative syntax

 

Console_ColorAt(x1, y1, x2, y2, Color)

 

Returns

 

Parameters

 

Name

Type

Optional

Meaning

x1

Number

No

starting x position

y1

Number

No

starting y position

length

Number

no

number of chars to change (minimum 1)

Color

Number

No

Color to be used

 

or

 

Name

Type

Optional

Meaning

x1

Number

No

starting x position

y1

Number

No

starting y position

x2

Number

no

end x position

y2

Number

No

end y position

Color

Number

No

Color to be used

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com