|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.jme.gfx.twod.ImageQuadFactory
public class ImageQuadFactory
A factory for creating ImageQuad objects.
Field Summary | |
---|---|
static int |
ALPHA_DISABLE
The Constant ALPHA_DISABLE. |
static int |
ALPHA_ENABLE
The Constant ALPHA_ENABLE. |
Constructor Summary | |
---|---|
ImageQuadFactory()
|
Method Summary | |
---|---|
static com.jme.scene.shape.Quad |
createQuadWithImage(java.lang.String name,
float width,
java.awt.Image img)
Creates a new ImageQuad object. |
static com.jme.scene.shape.Quad |
createQuadWithImageResource(java.lang.String name,
float width,
java.net.URL resource)
Creates a new ImageQuad object. |
static com.jme.scene.shape.Quad |
createQuadWithImageResource(java.lang.String name,
float width,
java.net.URL resource,
int useAlpha)
Creates a new ImageQuad object. |
static com.jme.scene.shape.Quad |
createQuadWithTexture(java.lang.String name,
float width,
com.jme.image.Texture tex)
Creates a new ImageQuad object. |
static com.jme.scene.shape.Quad |
createQuadWithUncompressedImageResource(java.lang.String name,
float width,
java.net.URL resource,
int useAlpha)
Creates a new ImageQuad object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALPHA_DISABLE
public static final int ALPHA_ENABLE
Constructor Detail |
---|
public ImageQuadFactory()
Method Detail |
---|
public static com.jme.scene.shape.Quad createQuadWithImage(java.lang.String name, float width, java.awt.Image img)
name
- the namewidth
- the widthimg
- the img
public static com.jme.scene.shape.Quad createQuadWithImageResource(java.lang.String name, float width, java.net.URL resource)
name
- the namewidth
- the widthresource
- the resource
public static com.jme.scene.shape.Quad createQuadWithImageResource(java.lang.String name, float width, java.net.URL resource, int useAlpha)
name
- the namewidth
- the widthresource
- the resourceuseAlpha
- the use alpha
public static com.jme.scene.shape.Quad createQuadWithTexture(java.lang.String name, float width, com.jme.image.Texture tex)
name
- the namewidth
- the widthtex
- the tex
public static com.jme.scene.shape.Quad createQuadWithUncompressedImageResource(java.lang.String name, float width, java.net.URL resource, int useAlpha)
name
- the namewidth
- the widthresource
- the resourceuseAlpha
- the use alpha
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |