imageFlippedForRightToLeftLayoutDirection method

UIImage imageFlippedForRightToLeftLayoutDirection()

Creates a version of this image that, when assigned to a UIImageView’s image property, draws its underlying image contents horizontally mirrored when running under a right-to-left language. Affects the flipsForRightToLeftLayoutDirection property; does not affect the imageOrientation property. This method cannot be used to create a left-to-right version of a right-to-left source image, and will be deprecated in a future release. New code should instead use -imageWithHorizontallyFlippedOrientation to construct a UIImageAsset.

Implementation

UIImage imageFlippedForRightToLeftLayoutDirection() {
  final _ret = _objc_msgSend_1x359cv(this.ref.pointer, _sel_imageFlippedForRightToLeftLayoutDirection);
  return UIImage.castFromPointer(_ret, retain: true, release: true);
}