ImageRotate
class ImageRotate(val degrees: Float, val interpolation: Interpolation = Interpolation.BILINEAR) : Transform<PlatformBitmapImage, PlatformBitmapImage> (source)
Rotates an image by the specified degrees.
Usage
val rotate = ImageRotate(90f)
val rotated = rotate.apply(originalImage)Content copied to clipboard
Parameters
degrees
Rotation angle (positive = clockwise)
interpolation
The interpolation method (default: BILINEAR)