Skip to content

Commit a77a914

Browse files
Updates docstrings
1 parent 4862eac commit a77a914

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pyrite/types/enums.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,12 @@ def _(cls, index: int) -> Layer:
136136

137137
class Anchor:
138138
"""
139-
A custom variant of Anchor, where a supplied offset is used to determine where in
140-
the rectangle the position is based.
139+
Defines, relative to a rectangle, what spot is considered the position.
141140
"""
142141

143142
def __init__(self, relative_position: Point) -> None:
144143
"""
145-
Creates a custom anchor point, defining a relative point for the location of
144+
Creates an anchor point, defining a relative point for the location of
146145
the position of a rectangle.
147146
148147
:param relative_position: (0, 0) is top left, and (1, 1) is bottom right.

0 commit comments

Comments
 (0)