- 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
- 4.37.2.102. -