public class StickerInfo extends BaseInfo
Toolkit users fill this class out and pass it into the addStickers().
disposeAfterUse, nativeHandle
Constructor and Description |
---|
StickerInfo() |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
void |
setColor(float r,
float g,
float b,
float a)
Set the color used by the geometry.
|
void |
setColor(int color)
Set the color used by the geometry.
|
getDrawOffset, getDrawPriority, getEnable, getFadeIn, getFadeOut, getFadeOutTime, getShaderID, getViewDistRangeMax, getViewDistRangeMin, getViewerCenter, getVisibleHeightMax, getVisibleHeightMin, setDrawOffset, setDrawPriority, setEnable, setEnableTimes, setFade, setFadeInOut, setFadeOutTime, setMaxVis, setMinVis, setRenderTarget, setShader, setShaderID, setViewDistRange, setViewerCenter, setVisibleHeightRange, setZBufferRead, setZBufferWrite
public void setColor(int color)
color
- Color, including alpha.public void setColor(float r, float g, float b, float a)
r
- Red component.g
- Green component.b
- Blue component.a
- Alpha component.public void finalize()
finalize
in class java.lang.Object