ZedGraph LogoZedGraph Class Library Documentation
Fill Constructor (colors, angle)
NamespacesZedGraphFillFillFillNew(array<Color>[](), Single)
Constructor that creates a linear gradient multi-color-fill, setting Type to Brush using the specified colors. This gradient fill consists of many colors based on an array of Color objects, drawn at the specified angle (degrees). The array is used to create a ColorBlend object assuming a even linear distribution of the colors across the gradient.
Declaration Syntax
C#Visual BasicVisual C++
public Fill(
	Color[] colors,
	float angle
)
Public Sub New ( _
	colors As Color(), _
	angle As Single _
)
public:
Fill (
	array<Color>^ colors, 
	float angle
)
Parameters
colors (array<Color>[]())
The array of Color objects that defines the colors along the gradient.
angle (Single)
The angle (degrees) of the gradient fill

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621