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

SetFillStyle

Set drawing fill style

Declaration

Source position: graphh.inc line 762

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


Documentation generated on: Mar 17 2017