SetColor (procedure) (Graph unit)

Language:
Русский
English

 SetColor (procedure)     (Graph unit)


Sets the current drawing color, using the palette.

Declaration

 procedure SetColor(Color: Word);

Target

Real, Protected

Remarks

SetColor(5) makes the fifth color in the palette the current drawing color. Drawing colors can range from 0 to 15, depending on the current graphics driver and current graphics mode.

GetMaxColor returns the highest valid color for the current driver and mode.

Restrictions

Must be in graphics mode.

See Also

Sample Code

Тэги: SetColor
| G+
Код для вставки: :: :: :: ::
Поделиться: // //