psd
psd copied to clipboard
getting layer size
I'm trying to get the size of the layers and it is wildly off if I use top, bottom, left, right to calculate it.
I found some box bounds here layer.layerData.textProperties.EngineDict.Rendered.Shapes.Children[0].Cookie.Photoshop .BoxBounds but text layers don't always have this.
How can I find a position and size of the layers from the data provided?