Skip to content

getting layer size #115

@vercamach

Description

@vercamach

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions