pad
fun <I> Transform<I, PlatformBitmapImage>.pad(top: Int = 0, bottom: Int = 0, left: Int = 0, right: Int = 0, red: Int = 0, green: Int = 0, blue: Int = 0): Transform<I, PlatformBitmapImage>(source)
Chains an ImagePad transform that adds pixels to edges.
Parameters
top
Pixels to add at top
bottom
Pixels to add at bottom
left
Pixels to add at left
right
Pixels to add at right
red
Red component of padding color (0-255)
green
Green component of padding color (0-255)
blue
Blue component of padding color (0-255)