We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let polygonShape = Shape( form: Polygon(points: [50, 0, 100, 50, 50, 100, 0, 50]), fill: Color.red ) let polygonShape2 = Shape( form: Polygon(points: [50, 0, 100, 50, 50, 100, 0, 50]), fill: Color.red, place: Transform.move(dx: 100, dy: 0) ) let polygonShape3 = Shape( form: Polygon(points: [50, 0, 100, 50, 50, 100, 0, 50]), fill: Color.red, place: Transform.move(dx: 200, dy: 0) ) let polygonGroup = [polygonShape, polygonShape2, polygonShape3].group() let clip = Rect(x: 100.0, y: 0.0, w: 100.0, h: 100.0) let clipShape = Shape(form: clip, stroke: Stroke(fill: Color.yellow)) let polygonGroupGroup = [polygonGroup].group() // COMMENT this line polygonGroup.clip = clip polygonGroup.onTap { _ in polygonGroup.placeVar.animation(to: polygonGroup.place.move(dx: -100.0, dy: 0.0)).easing(.linear).cycle().play() } self.node = [polygonGroupGroup, clipShape].group() self.node.place = Transform.move(dx: 50, dy: 300)
The text was updated successfully, but these errors were encountered:
Here is how it works now, is it correct? Untitled.mov.zip
Sorry, something went wrong.
Closing this ticket. Please reopen it if you still have some issues 😉
vhailor13
No branches or pull requests
The text was updated successfully, but these errors were encountered: