![]() |
![]() |
Shape.CreateZipperDistortion
Function CreateZipperDistortion(OriginX As Double, OriginY As Double, Amplitude As Long, Frequency As Long, [Random As Boolean = False], [Smooth As Boolean = False], [Local As Boolean = False]) As Effect
Member of Shape
The CreateZipperDistortion method applies a Zipper distortion to a shape. This method returns an Effect object that represents the distortion-effect properties.
The following code example creates an ellipse and applies a Zipper distortion to the ellipse. It then converts the ellipse to a curve.
Sub Test() Dim s As Shape ActiveDocument.ResetSettings Set s = ActiveLayer.CreateEllipse2(ActivePage.SizeWidth / 2, _ ActivePage.SizeHeight / 2, 2) s.CreateZipperDistortion 0, 0, 6, 80 s.ConvertToCurves End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.