FillStyle Property

Object List Next Object

Defined By:
Form

Description:

Determines the way that closed figures will be filled.

Settings:

The following fill patterns are available:


Setting Description


0 - Solid Solid fill.

  1. - Transparent (default) No fill, transparent.

  2. - Horizontal Line Lines drawn from left to right every 8 pixels.

  3. - Vertical Line Lines drawn up and down every 8 pixels.

  4. - Upward Diagonal Diagonal lines drawn from upper left to lower right. The lines are drawn every 8 pixels.

  5. - Downward Diagonal Diagonal lines that are drawn from lower left to upper right. The lines are drawn every 8 pixels.

  6. - Cross Crosshatched lines.

  7. - Diagonal Diagonally crosshatched lines.

Details:

FillStyle will fill any closed figure (ellipse, pie, polygon, rectangle or roundrect) with the specified FillStyle in the FillColor. Setting FillStyle to Transparent (1) will draw an outline of a figure instead of a filled one.

Data Type: Enum (FillStyleType)

See Also:

Drawable, GdiShape, FillColor property