Returns the color to which to map the transparent pixel, or null if
the receiver has no transparent pixel.
<p>
There are certain uses of Images that do not support transparency
(for example, setting an image into a button or label). In these cases,
it may be desired to simulate transparency by using the background
color of the widget to paint the transparent pixels of the image.
Use this method to check which color will be used in these cases
in place of transparency. This value may be set with setBackground().
<p>
@return the background color of the image, or null if there is no transparency in the image
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Returns the color to which to map the transparent pixel, or null if the receiver has no transparent pixel. <p> There are certain uses of Images that do not support transparency (for example, setting an image into a button or label). In these cases, it may be desired to simulate transparency by using the background color of the widget to paint the transparent pixels of the image. Use this method to check which color will be used in these cases in place of transparency. This value may be set with setBackground(). <p>
@return the background color of the image, or null if there is no transparency in the image
@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>