[mirror / flip_across] improve documentation
This commit is contained in:
parent
d40bdb1cb2
commit
abf236a046
3 changed files with 18 additions and 6 deletions
|
|
@ -108,7 +108,9 @@ class Port(PivotableImpl, PositionableImpl, Mirrorable, Flippable, Copyable):
|
|||
|
||||
def flip_across(self, axis: int | None = None, *, x: float | None = None, y: float | None = None) -> Self:
|
||||
"""
|
||||
Mirror the object across a line.
|
||||
Mirror the object across a line in the container's coordinate system.
|
||||
|
||||
Note this operation is performed relative to the pattern's origin and modifies the port's offset.
|
||||
|
||||
Args:
|
||||
axis: Axis to mirror across. 0 mirrors across y=0. 1 mirrors across x=0.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue