sketch-hq/SketchAPI

APIs missing: set Fills blending options

matteogratton opened this issue · 0 comments

Similarly to the Opacity, this option is not currently available in the APIs:
CleanShot 2022-06-23 at 11 50 25

Currently, it is possible to set them only via:
layer.style.sketchObject.fills()[1].contextSettings().setBlendMode(13);

It would be nice to have something like:
layer.style.fills[value].blendMode = "Overlay"

It is also missing a way to read the option:
layer.style.sketchObject.fills()[1].contextSettings().blendMode();