[Bug report] LinearGradientFill


#1

Docs:

new LinearGradientFill()
Create a new LinearGradientFill instance

My code:

const {LinearGradientFill} = require("scenegraph");
...
const lgf = new LinearGradientFill();

Error:

Plugin TypeError: LinearGradientFill is not a constructor

#2

Oops, looks like a docs bug! You’ll want to use just LinearGradient instead.


#3

And what about the possibility to extract images from shapes filled with bitmap data ?