fun StyleInterface.addImage9Patch(image: StyleContract.StyleImageExtension)
Content copied to clipboard
@JvmOverloads()
Content copied to clipboard
Adds an 9-patch image to be used in the style. X-stretches, Y-stretches and padding will be calculated from Bitmap.getNinePatchChunk.
A string describing an error if the operation was not successful, empty otherwise.