FillStyle Property

Object List Next Object

Defined By:
Drawable

Description:

Determines the pattern used to fill a shape being drawn.

Settings:


Setting Description


0 - Solid Solid fill.

  1. - Transparent (default) No fill.

  2. - Horizontal Line Lines from left to right.

  3. - Vertical Line Lines going up and down.

  4. - Upward Diagonal Lines that go from upper left to lower right.

  5. - Downward Diagonal Lines that go from lower left to upper right.

  6. - Cross Crosshatched lines.

  7. - Diagonal Diagonally crosshatched lines.

Details:

The FillColor property works with the FillStyle property to determine what will fill the inside of shapes drawn in a particular container. If the FillStyle is transparent (default), the FillColor setting is ignored and any shapes you draw are blank. If the FillStyle property is solid, the shapes you draw are filled with a solid color. Likewise, if the FillStyle property is a particular pattern (settings 2-7), the pattern is drawn in the designated fill color.

Data Type: Enum - FillStyleType

See Also:

BevelInner property, BevelOuter property, Paint event