SetFillStyle
Set drawing fill style
Declaration
Source position: graphh.inc line 769
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
Name | Description |
---|---|
SetFillPattern | Set drawing fill pattern |
SetWriteMode | Specify binary operation to perform when drawing on screen |