HtmlForgeX

API Reference

Class

ApexGradient

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents gradient configuration.

Inheritance

  • Object
  • ApexGradient

Constructors

public ApexGradient() #

Methods

public ApexGradient SetOpacityRange(Double from, Double to) #
Returns: ApexGradient

Sets the opacity range.

Parameters

from System.Double requiredposition: 0
to System.Double requiredposition: 1
public ApexGradient SetShade(ApexGradientShade shade) #
Returns: ApexGradient

Sets the gradient shade.

Parameters

shade HtmlForgeX.ApexGradientShade requiredposition: 0
public ApexGradient SetType(ApexGradientType type) #
Returns: ApexGradient

Sets the gradient type.

Parameters

type HtmlForgeX.ApexGradientType requiredposition: 0

Properties

public Nullable<ApexGradientShade> Shade { get; set; } #
JsonPropertyName("shade") JsonConverter(typeof(ApexEnumConverter<ApexGradientShade>))

Gets or sets the gradient shade.

public Nullable<ApexGradientType> Type { get; set; } #
JsonPropertyName("type") JsonConverter(typeof(ApexEnumConverter<ApexGradientType>))

Gets or sets the gradient type.

public Nullable<Double> ShadeIntensity { get; set; } #
JsonPropertyName("shadeIntensity")

Gets or sets the shade intensity.

public String[] GradientToColors { get; set; } #
JsonPropertyName("gradientToColors")

Gets or sets the gradient angle.

public Nullable<Boolean> InverseColors { get; set; } #
JsonPropertyName("inverseColors")

Gets or sets the inverse y axis.

public Nullable<Double> OpacityFrom { get; set; } #
JsonPropertyName("opacityFrom")

Gets or sets the opacity from.

public Nullable<Double> OpacityTo { get; set; } #
JsonPropertyName("opacityTo")

Gets or sets the opacity to.