def get_transform(self, flip_x=False, flip_y=False, rotate=0):
        frames = [AnimationFrame(
                    frame.image.get_texture().get_transform(
                        flip_x, flip_y, rotate), frame.duration) \
                  for frame in self.frames]
        return Animation(frames)
Create a copy of this animation applying a simple transformation.
dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/__init__.py/Animation.get_transform