/// <summary> /// Returns a copy of the image specified by 'key', flipped horizontal, vertical or both. Updates image inside image storage class. /// </summary> /// <param name="key"></param> /// <param name="frameWidth"></param> /// <param name="frameHeight"></param> /// <param name="flipVeritcal"></param> /// <param name="flipHorizontal"></param> /// <returns></returns> public Image FlipImage(string key, int frameWidth, int frameHeight, bool flipVeritcal, bool flipHorizontal) { Image image = getImage(key, frameWidth, frameHeight); image = _imageProcessor.FlipImage(image, flipVeritcal, flipHorizontal); _images.Set(key, image); return(image); }