Palette Constructor (String, Color, Color) |
Create new instance of Palette class.
Namespace: Kettic.AspNet.Controls.ChartModelAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic Palette(
string name,
Color[] mainColors,
Color[] secondColors
)
Public Sub New (
name As String,
mainColors As Color(),
secondColors As Color()
)
public:
Palette(
String^ name,
array<Color>^ mainColors,
array<Color>^ secondColors
)
new :
name : string *
mainColors : Color[] *
secondColors : Color[] -> Palette
Parameters
- name
- Type: SystemString
Name of palette - mainColors
- Type: System.DrawingColor
Main colors of palette items - secondColors
- Type: System.DrawingColor
Second colors of palette items
See Also