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
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
Oops, looks like a docs bug! You’ll want to use just LinearGradient
instead.
And what about the possibility to extract images from shapes filled with bitmap data ?