FillStyle Enumeration

Specifies the fill gradient style for an OvalShape or RectangleShape control.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
Public Enumeration FillStyle
public enum FillStyle
public enum class FillStyle
type FillStyle
public enum FillStyle

Members

Member name Description
BackwardDiagonal A pattern of lines that slant from upper right to lower left.
Cross A pattern of horizontal and vertical lines that cross.
DarkDownwardDiagonal A pattern of diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than ForwardDiagonal lines, and are double their widths. This pattern is not antialiased.
DarkHorizontal A pattern of horizontal lines that are spaced 50 percent closer together than Horizontal lines and are double their widths.
DarkUpwardDiagonal A pattern of diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal lines, and are double their widths. This pattern is not antialiased.
DarkVertical A pattern of vertical lines that are spaced 50 percent closer together than Vertical lines and are double their widths.
DashedDownwardDiagonal A pattern of dashed diagonal lines that slant to the right from top points to bottom points.
DashedHorizontal A pattern of dashed horizontal lines.
DashedUpwardDiagonal A pattern of dashed diagonal lines that slant to the left from top points to bottom points.
DashedVertical A pattern of dashed vertical lines.
DiagonalBrick A pattern that has the appearance of layered bricks that slant to the left from top points to bottom points.
DiagonalCross A pattern of crossing diagonal lines.
Divot A pattern that has the appearance of divots.
DottedDiamond A pattern of forward crossing diagonal lines, each of which is composed of dots that cross.
DottedGrid A pattern of horizontal and vertical lines, each of which is composed of dots that cross.
ForwardDiagonal A pattern of lines that slant from upper left to lower right.
Horizontal A pattern of horizontal lines.
HorizontalBrick A pattern that has the appearance of horizontally layered bricks.
LargeCheckerBoard A pattern that has the appearance of a checkerboard, with squares that are double the size of the HatchStyle.SmallCheckerBoard squares.
LargeConfetti A pattern that has the appearance of confetti and is composed of larger pieces than those of SmallConfetti.
LightDownwardDiagonal A pattern of diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent farther apart than those of BackwardDiagonal. This pattern is not antialiased.
LightHorizontal A pattern of horizontal lines that are spaced 50 percent farther apart than those of Horizontal.
LightUpwardDiagonal A pattern of diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent farther apart than those of BackwardDiagonal. This pattern is not antialiased.
LightVertical A pattern of vertical lines that are spaced 50 percent farther apart than those of Vertical.
NarrowHorizontal A pattern of horizontal lines that are spaced 75 percent closer together than those of Horizontal (or 25 percent closer together than those of LightHorizontal).
NarrowVertical A pattern of vertical lines that are spaced 75 percent closer together than those of Vertical (or 25 percent closer together than those of LightVertical).
OutlineShapedDiamond A pattern of crossing diagonal lines that that are not antialiased.
Percent05 A 5-percent dot pattern. The ratio of foreground color to background color is 5:100.
Percent10 A 10-percent dot pattern. The ratio of foreground color to background color is 10:100.
Percent20 A 20-percent dot pattern. The ratio of foreground color to background color is 20:100.
Percent25 A 25-percent dot pattern. The ratio of foreground color to background color is 25:100.
Percent30 A 30-percent dot pattern. The ratio of foreground color to background color is 30:100.
Percent40 A 40-percent dot pattern. The ratio of foreground color to background color is 40:100.
Percent50 A 50-percent dot pattern. The ratio of foreground color to background color is 50:100.
Percent60 A 60-percent dot pattern. The ratio of foreground color to background color is 60:100.
Percent70 A 70-percent dot pattern. The ratio of foreground color to background color is 70:100.
Percent75 A 75-percent dot pattern. The ratio of foreground color to background color is 75:100.
Percent80 A 80-percent dot pattern. The ratio of foreground color to background color is 80:100.
Percent90 A 90-percent dot pattern. The ratio of foreground color to background color is 90:100.
Plaid A plaid pattern.
Shingle A pattern that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.
SmallCheckerBoard A pattern that has the appearance of a checkerboard.
SmallConfetti A pattern that has the appearance of confetti.
SmallGrid A pattern of horizontal and vertical lines that cross and are spaced 50 percent closer together than those of Cross.
Solid An opaque background in the color specified by the FillColor property.
SolidDiamond A pattern that has the appearance of a checkerboard positioned diagonally.
Sphere A pattern that has the appearance of spheres laid adjacent to each other.
Transparent No pattern. If the BackStyle property is set to Opaque, the BackColor will be displayed.
Trellis A pattern that has the appearance of a trellis.
Vertical A pattern of vertical lines.
Wave A pattern of horizontal lines that are composed of tildes (~).
Weave A pattern that has the appearance of a woven material.
WideDownwardDiagonal A pattern of diagonal lines that slant to the right from top points to bottom points, have the same spacing as those of ForwardDiagonal, and are triple their width. This pattern is not antialiased.
WideUpwardDiagonal A pattern of diagonal lines that slant to the left from top points to bottom points, have the same spacing as those of BackwardDiagonal, and are triple their width. This pattern is not antialiased.
ZigZag A pattern of horizontal lines that are composed of zigzags.

Remarks

The FillStyle enumeration provides values for the FillStyle property of an OvalShape or RectangleShape control.

For all values other than Transparent, the fill pattern will be displayed in the color specified by the FillColor property. When FillStyle is set to Solid, the FillColor property value overrides the BackColor property. When FillStyle is set to Transparent, if the BackStyle property is set to Opaque, the BackColor will be displayed.

See Also

Reference

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the Line and Shape Controls (Visual Studio)

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)