SetTextColor

Category: Window and Display

Back to System Functions


Signature

SetTextColor(red As Double, green As Double, blue As Double)

Returns

Void

Description

Sets the color used by subsequent DrawText calls.

Values may be given either in normalized form from 0.0 to 1.0 or byte-style form from 0 to 255.

Example

SetTextColor(255, 255, 255) SetTextColor(1.0, 0.8, 0.2)