Skip to content

Commit 9aa946e

Browse files
dsmtEloonghao
authored andcommitted
artlayer: add missing bounds property
Signed-off-by: dsmtE <[email protected]>
1 parent d3ff9d7 commit 9aa946e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

photoshop/api/_artlayer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ def blendMode(self):
3535
def blendMode(self, mode):
3636
self.app.blendMode = mode
3737

38+
@property
39+
def bounds(self):
40+
"""The bounding rectangle of the layer."""
41+
return self.app.bounds
42+
3843
@property
3944
def linkedLayers(self) -> list:
4045
"""Get all layers linked to this layer.

0 commit comments

Comments
 (0)