Home/ Reference/ Effects

shape.CreatePushPullDistortion() / CreateZipperDistortion() / CreateTwisterDistortion()

Three distortions: push-pull (inflate and contract), zipper (sawtooth edge), twister (spiral). Odd-shaped borders and playful type.

Signature

shape.CreatePushPullDistortion() / CreateZipperDistortion() / CreateTwisterDistortion()

Notes

Three distortions: push-pull (inflate and contract), zipper (sawtooth edge), twister (spiral). Odd-shaped borders and playful type.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

try:
    eff1 = shape.CreatePushPullDistortion()         # push-pull distortion
    print("Push-pull distortion OK")
except Exception as e:
    print("Push-pull failed: ", e)

try:
    eff2 = shape.CreateZipperDistortion()           # zipper distortion
    print("Zipper distortion OK")
except Exception as e:
    print("Zipper failed: ", e)

About this section: Effects

Effects — drop shadow, blend, contour, extrude and lens.

Other entries in this section