[mirror / flip_across] improve documentation
This commit is contained in:
parent
d40bdb1cb2
commit
abf236a046
3 changed files with 18 additions and 6 deletions
|
|
@ -104,10 +104,12 @@ class Label(PositionableImpl, RepeatableImpl, AnnotatableImpl, Bounded, Pivotabl
|
|||
|
||||
def flip_across(self, axis: int | None = None, *, x: float | None = None, y: float | None = None) -> Self:
|
||||
"""
|
||||
Mirror the object across a line.
|
||||
Flip the label across a line in the pattern's coordinate system.
|
||||
|
||||
This operation mirrors the label's offset relative to the pattern's origin.
|
||||
|
||||
Args:
|
||||
axis: Axis to mirror across. 0 mirrors across x=0. 1 mirrors across y=0.
|
||||
axis: Axis to mirror across. 0 mirrors across y=0. 1 mirrors across x=0.
|
||||
x: Vertical line x=val to mirror across.
|
||||
y: Horizontal line y=val to mirror across.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue