TextSpacing: Number;
The TextSpacing property determines distance between spectrum legend color ranges' separators and the text.
Use JSON or the setTextSpacing method to set the property value, and the getTextSpacing method to get the property value.
The example of property use is given in the Spectrum Legend Settings section in the page of SpectrumLegend constructor.
See also: