HtmlForgeX

API Reference

Class

VisNetworkShadowOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Shadow configuration options.

Inheritance

  • Object
  • VisNetworkShadowOptions

Constructors

public VisNetworkShadowOptions() #

Methods

public VisNetworkShadowOptions WithColor(RGBColor color) #
Returns: VisNetworkShadowOptions

Sets the shadow color.

Parameters

color HtmlForgeX.RGBColor requiredposition: 0
Shadow color.

Returns

The shadow options for method chaining.

public VisNetworkShadowOptions WithEnabled(Boolean enabled = true) #
Returns: VisNetworkShadowOptions

Enables or disables the shadow.

Parameters

enabled System.Boolean = true optionalposition: 0
True to enable shadow.

Returns

The shadow options for method chaining.

public VisNetworkShadowOptions WithOffset(Double x, Double y) #
Returns: VisNetworkShadowOptions

Sets the shadow offset.

Parameters

x System.Double requiredposition: 0
Horizontal offset.
y System.Double requiredposition: 1
Vertical offset.

Returns

The shadow options for method chaining.

public VisNetworkShadowOptions WithSize(Double size) #
Returns: VisNetworkShadowOptions

Sets the shadow blur size.

Parameters

size System.Double requiredposition: 0
Blur size.

Returns

The shadow options for method chaining.

Properties

public Nullable<Boolean> Enabled { get; set; } #
JsonPropertyName("enabled") JsonIgnore(Condition = 3)

Determines whether shadow is enabled.

public String Color { get; set; } #
JsonPropertyName("color") JsonIgnore(Condition = 3)

Shadow color.

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.