crop

fun <I> Transform<I, PlatformBitmapImage>.crop(top: Int = 0, bottom: Int = 0, left: Int = 0, right: Int = 0): Transform<I, PlatformBitmapImage>(source)

Chains an ImageCrop transform that removes pixels from edges.

Parameters

top

Pixels to remove from top

bottom

Pixels to remove from bottom

left

Pixels to remove from left

right

Pixels to remove from right