Bitmap widgets contain a single bitmap. The bitmap can be modulated with a color value, affecting its hue and transparency.
Retrieves the resource name of the bitmap contained in the widget.
The name of the bitmap
Sets the bitmap contained in the widget.
The name of the bitmap resource to be displayed in the widget
Set the color the image is modulated with. The modulation operation scales the color components of the pixels in the
bitmap from zero to the value in the original bitmap, thus adjusting the hue of the image. The image color values can't
be scaled up using this functionality.
The color specified as a HTML compatible string representing an RGB color with an alpha (transparency)
value. The format of the string is 'aarrggbb', and each component is presented as a hexadecimal value from 00 to FF. If alpha is zero or not defined, FF is assumed.
Sets the size of this widget to a fixed value. Instead of sizing the entire widget to fit the contents, this will cause the
icon to be fitted to the size.
The constrained width of the widget
The constrained height of the widget