@microsoft/fast-colors > ColorScale > trim
ColorScale.trim() method
Signature:trim(lowerBound: number, upperBound: number, interpolationMode?: ColorInterpolationSpace): ColorScale;
Parameters
Parameter | Type | Description |
---|---|---|
lowerBound | number | |
upperBound | number | |
interpolationMode | ColorInterpolationSpace |