Previous: 4.37.2.101. SetFillPattern procedure To the Table of Contents Next: 4.37.2.103. SetGraphBufSize procedure
4.37.2.101. SetFillPattern procedure Table of Contents 4.37.2.103. SetGraphBufSize procedure

- 4.37.2.102. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.102. SetFillStyle procedure


4.37.2.102. SetFillStyle procedure

Targets: MS-DOS, Win32


Graph Unit

Sets the fill pattern and color.

Declaration:
procedure SetFillStyle(Pattern: DWORD; Color: DWORD);
Remarks:
Sets the pattern and color for all filling done by FillPoly, Bar, Bar3D, FillCircle, FillEllipse and FillTriangle procedures. The Graph unit does not support pattern fill for FloodFill and ExpandFill procedures. 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.

See also:
SetFillColor
SetFillPattern


Previous: 4.37.2.101. SetFillPattern procedure To the Table of Contents Next: 4.37.2.103. SetGraphBufSize procedure
4.37.2.101. SetFillPattern procedure Table of Contents 4.37.2.103. SetGraphBufSize procedure

- 4.37.2.102. -