LabelImage
Source image for text label background.
new <init>
(image, size, stretchX, stretchY, padding, pixelRatio)
Source image for text label background.
Parameters
image
size
stretchX
stretchY
padding
pixelRatio
Returns
Methods
Properties
Source image URL.
width,height — image size in logical pixels
Defines the parts of the image that can be stretched horizontally.
Defines the parts of the image that can be stretched vertically.
Sets the space in pixels between the label text box and the edge of the stretched image for all four sides top,right,bottom,left, like in CSS. 0,0,0,0 by default.
The ratio of logical pixels in the image to physical pixels on the screen.