Download QCChart3D 3D Charting Tools for .Net - Quinn

Transcript
160 Background Colors, Textures and Gradients
Background constructors
Use this constructor to fill the background with a single color.
[Visual Basic]
Overloads Public Sub New( _
ByVal transform As PhysicalCoordinates, _
ByVal bgtype As Integer, _
ByVal bgcolor As Color _
)
[C#]
public Background(
PhysicalCoordinates transform,
int bgtype,
Color bgcolor
);
Use this constructor to fill the background with the gradient defined using the startcolor
and stopcolor arguments.
[Visual Basic]
Overloads Public Sub New( _
ByVal transform As PhysicalCoordinates, _
ByVal bgtype As Integer, _
ByVal startcolor As Color, _
ByVal stopcolor As Color, _
ByVal dir As Integer _
)
[C#]
public Background(
PhysicalCoordinates transform,
int bgtype,
Color startcolor,
Color stopcolor,
int dir
);
Use this constructor to fill the background with a user-defined gradient.
[Visual Basic]
Overloads Public Sub New( _
ByVal transform As PhysicalCoordinates, _
ByVal bgtype As Integer, _
ByVal gradient As LinearGradientBrush _
)
[C#]
public Background(
PhysicalCoordinates transform,
int bgtype,
LinearGradientBrush gradient
);
Use this constructor to fill the background with a user-defined texture.
[Visual Basic]
Overloads Public Sub New( _