ImageWidget
ImageWidget
is used to display images, which provided by a GUI Texture
.
Basic Properties
Field | Description |
---|---|
border | The border width (range: -100 to 100) |
borderColor | The color of the border |
APIs
setImage
Sets the image texture using a texture instance.
setImage
Sets the image texture using a supplier.
getImage
Returns the current image texture.
setBorder
Sets the border width and color.