IPB

> SetFillStyle (procedure) (Graph unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 SetFillStyle (procedure)     (Graph unit)


Sets the fill pattern and color.

Declaration

 procedure SetFillStyle(Pattern: Word; Color: Word);

Target

Real, Protected

Remarks

Sets the pattern and color for all filling done by FillPoly, Bar, Bar3D, and PieSlice. A variety of fill patterns are available. The default pattern is solid, and the default color is the maximum color in the palette. If invalid input is passed to SetFillStyle, GraphResult returns a value of grError, and the current fill settings will be unchanged.

If Pattern equals UserFill, the user-defined pattern (set by a call to SetFillPattern) becomes the active pattern.

Restrictions

Must be in graphics mode.

See Also

Sample Code

 
 К началу страницы 
Тэги: SetFillStyle
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"