object.setImageBorderX: Set the background image for the X border
X: T = Top, B = Bottom, L = Left, R = Right
object. setImageCornerXY: Set the background image for the XY corner
XY: TR = Top-Right, RB = Right-Bottom, BL = Bottom-Left, LT = Left-Top
object.setImageBorderX(filePath)
object. setImageCornerXY(filePath)
filePath
See the filePath paragraph in Styles
If an image is set, either as a corner image or as a background image for sides, it is useful to set the width of borders to 'Auto' in order they have the width of images. See setBorderWidth