Skip to content

getting layer size #115

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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