API Reference
Class
VisNetworkColorOptions
Color configuration options for nodes.
Inheritance
- Object
- VisNetworkColorOptions
Constructors
public VisNetworkColorOptions() #Methods
public VisNetworkColorOptions WithBackground(RGBColor color) #Returns:
VisNetworkColorOptionsSets the background color.
Parameters
- color HtmlForgeX.RGBColor
- Background color.
Returns
The color options for method chaining.
public VisNetworkColorOptions WithBorder(RGBColor color) #Returns:
VisNetworkColorOptionsSets the border color.
Parameters
- color HtmlForgeX.RGBColor
- Border color.
Returns
The color options for method chaining.
public VisNetworkColorOptions WithHighlight(RGBColor background, RGBColor border) #Returns:
VisNetworkColorOptionsSets the highlight colors.
Parameters
- background HtmlForgeX.RGBColor
- Background highlight color.
- border HtmlForgeX.RGBColor
- Border highlight color.
Returns
The color options for method chaining.
public VisNetworkColorOptions WithHover(RGBColor background, RGBColor border) #Returns:
VisNetworkColorOptionsSets the hover colors.
Parameters
- background HtmlForgeX.RGBColor
- Background hover color.
- border HtmlForgeX.RGBColor
- Border hover color.
Returns
The color options for method chaining.
Inherited Methods
Properties
public String Background { get; set; } #JsonPropertyName("background") JsonIgnore(Condition = 3)Background color.
public String Border { get; set; } #JsonPropertyName("border") JsonIgnore(Condition = 3)Border color.
public Object Highlight { get; set; } #JsonPropertyName("highlight") JsonIgnore(Condition = 3)Highlight colors.