Sign in Join
FPDoc Onlineexperiment

SetFillStyle procedure

In unit Graph

Set drawing fill style.

Declaration

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

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.