Freigeben über


FillGradientStyle 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 FillGradientStyle
public enum FillGradientStyle
public enum class FillGradientStyle
type FillGradientStyle
public enum FillGradientStyle

Members

Member name Description
BackwardDiagonal A fill gradient in which the FillColor on the upper-right transitions to the FillGradientColor on the lower-left.
Central A fill gradient in which the FillColor on the outer edges of the shape transitions to the FillGradientColor in the center.
ForwardDiagonal A fill gradient in which the FillColor on the upper-left transitions to the FillGradientColor on the lower-right.
Horizontal A fill gradient in which the FillColor on the left transitions to the FillGradientColor on the right.
None No fill gradient. The FillColor is displayed. This is the default.
Vertical A fill gradient in which the FillColor on the top transitions to the FillGradientColor on the bottom.

Remarks

The FillGradientStyle enumeration provides values for the FillGradientStyle property of an OvalShape or RectangleShape control. If the FillStyle property of the control is set to any value other than Solid, the value of FillGradientStyle has no effect.

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)