|
JIU 0.12.0 Homepage | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that represents transparency information which may be available for a pixel image. Transparency information describes how an image is supposed to be drawn on a pixel background (e.g. another image). That way, irregularly shaped images can easily be handled by excluding those pixels of a rectangular image that are not part of the image.
Method Summary | |
IntegerImage |
getAlphaChannelImage()
Returns an image object that contains an alpha channel. |
Integer |
getTransparencyIndex()
If there is a transparency index, this method returns it. |
void |
setAlphaChannelImage(IntegerImage newImage)
Set a new alpha channel image object. |
void |
setTransparencyIndex(Integer newValue)
Set a new transparency value. |
Method Detail |
public IntegerImage getAlphaChannelImage()
setAlphaChannelImage(net.sourceforge.jiu.data.IntegerImage)
public Integer getTransparencyIndex()
setTransparencyIndex(java.lang.Integer)
public void setAlphaChannelImage(IntegerImage newImage)
getAlphaChannelImage()
public void setTransparencyIndex(Integer newValue)
null
.
However, if the value is non-null, it must encapsulate an
integer number which is 0 or larger.
newValue
- new transparency index
IllegalArgumentException
- if the argument is non-null and contains a negative valuegetAlphaChannelImage()
|
JIU 0.12.0 Homepage | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |