Skip to content

Commit 4286406

Browse files
authored
Update docs to reflect Point change
1 parent cc12f81 commit 4286406

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reST/ref/rect.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
overridden if any extra attributes need to be copied.
9595

9696
.. versionadded:: 2.5.2
97-
``rel_center`` added to Rect / FRect. This will return you a ``Coordinate`` of
98-
the center relative to the topleft of the Rect. Setting a ``Coordinate`` to it will
99-
modify the size of the rect to 2 times the ``Coordinate`` used. Below you can find a
97+
``rel_center`` added to Rect / FRect. This will return you a ``Point`` of
98+
the center relative to the topleft of the Rect. Setting a ``Point`` to it will
99+
modify the size of the rect to 2 times the ``Point`` used. Below you can find a
100100
code example of how it should work :
101101

102102
.. code-block:: python
@@ -109,7 +109,7 @@
109109
> ((128, 128), (256, 256))
110110
111111
Beware of non integer relative centers ! Using a Rect instead of FRect will round down
112-
the values of the returned ``Coordinate``.
112+
the values of the returned ``Point``.
113113

114114

115115
.. method:: copy

0 commit comments

Comments
 (0)