API Reference
Class
VisNetworkShadowOptions
Shadow configuration options.
Inheritance
- Object
- VisNetworkShadowOptions
Constructors
public VisNetworkShadowOptions() #Methods
public VisNetworkShadowOptions WithColor(RGBColor color) #Returns:
VisNetworkShadowOptionsSets the shadow color.
Parameters
- color HtmlForgeX.RGBColor
- Shadow color.
Returns
The shadow options for method chaining.
public VisNetworkShadowOptions WithEnabled(Boolean enabled = true) #Returns:
VisNetworkShadowOptionsEnables or disables the shadow.
Parameters
- enabled System.Boolean = true
- True to enable shadow.
Returns
The shadow options for method chaining.
public VisNetworkShadowOptions WithOffset(Double x, Double y) #Returns:
VisNetworkShadowOptionsSets the shadow offset.
Parameters
- x System.Double
- Horizontal offset.
- y System.Double
- Vertical offset.
Returns
The shadow options for method chaining.
public VisNetworkShadowOptions WithSize(Double size) #Returns:
VisNetworkShadowOptionsSets the shadow blur size.
Parameters
- size System.Double
- Blur size.
Returns
The shadow options for method chaining.
Inherited Methods
Properties
public Nullable<Boolean> Enabled { get; set; } #JsonPropertyName("enabled") JsonIgnore(Condition = 3)Determines whether shadow is enabled.
public Nullable<Double> Size { get; set; } #JsonPropertyName("size") JsonIgnore(Condition = 3)Blur size of the shadow.
public Nullable<Double> X { get; set; } #JsonPropertyName("x") JsonIgnore(Condition = 3)X offset of the shadow.
public Nullable<Double> Y { get; set; } #JsonPropertyName("y") JsonIgnore(Condition = 3)Y offset of the shadow.