public class PTMViewerItem extends java.lang.Object implements PTMEventDispatcher
Constructor and Description |
---|
PTMViewerItem(IStage stage,
java.io.File file,
com.jme3.math.ColorRGBA borderColour,
float sizeLimit,
float minScale,
float maxScale)
Instantiates a new PTM viewer item.
|
Modifier and Type | Method and Description |
---|---|
IItem |
asItem()
As item.
|
void |
generateImage()
Generate image.
|
public PTMViewerItem(IStage stage, java.io.File file, com.jme3.math.ColorRGBA borderColour, float sizeLimit, float minScale, float maxScale)
stage
- the stagefile
- the fileborderColour
- the border coloursizeLimit
- the size limitminScale
- the min scalemaxScale
- the max scalepublic IItem asItem()
public void generateImage()
PTMEventDispatcher
generateImage
in interface PTMEventDispatcher