help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Graph' (#rtl)

SetFillStyle

Set drawing fill style

Declaration

Source position: graphh.inc line 729

procedure SetFillStyle(

  Pattern: Word;

  Color: Word

);

Description

SetFillStyle sets the filling pattern and color to one of the predefined filling patterns. Pattern can be one of the following predefined constants :

EmptyFill
Uses backgroundcolor.
SolidFill
Uses filling color
LineFill
Fills with horizontal lines.
ltSlashFill
Fills with lines from left-under to top-right.
SlashFill
Idem as previous, thick lines.
BkSlashFill
Fills with thick lines from left-Top to bottom-right.
LtBkSlashFill
Idem as previous, normal lines.
HatchFill
Fills with a hatch-like pattern.
XHatchFill
Fills with a hatch pattern, rotated 45 degrees.
InterLeaveFill
WideDotFill
Fills with dots, wide spacing.
CloseDotFill
Fills with dots, narrow spacing.
UserFill
Fills with a user-defined pattern.

Errors

None.

See also

SetFillPattern

  

Set drawing fill pattern

SetWriteMode

  

Specify binary operation to perform when drawing on screen

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505