SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

Exposing hasClippingMask and closestClippingLayer in JS API

Open Demircivi opened this issue 5 years ago • 0 comments

Seeing hasClippingMask and closestClippingLayer properties in JS API would be awesome. I'm developing the Sketch SDK of Pixelworm(https://www.pixelworm.io) and I have to crop the frame of layers which are masked. I personally don't like using private APIs.

Also an API to set layer mask would be great too but this is not my requirement right now.

Demircivi avatar Dec 18 '19 09:12 Demircivi