Palette Constructor (String, Color, Boolean) |
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[] colors,
bool twoColors
)
Public Sub New (
name As String,
colors As Color(),
twoColors As Boolean
)
public:
Palette(
String^ name,
array<Color>^ colors,
bool twoColors
)
new :
name : string *
colors : Color[] *
twoColors : bool -> Palette
Parameters
- name
- Type: SystemString
Name - colors
- Type: System.DrawingColor
Colors of items - twoColors
- Type: SystemBoolean
If true than second and main colors are equal
See Also