Skip to main content

Function: createSdfGradientImage()

createSdfGradientImage(options): HdrifyImage

Create a synthetic HdrifyImage with a smooth circular gradient from top-left. White at (0,0), black at (width-1, height-1); gradient is linear in distance.

Parameters​

options​

CreateSdfGradientImageOptions

Returns​

HdrifyImage