|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.device.awt.AWTTexturePaint
The AWTTexturePaint represents a Paint that can
be used to render textures on the AWTDevice.
| Field Summary | |
static int |
BESTFIT
constant tells about a scaling mode the AWTTexturePaint
supports |
static int |
CROPFITTED
constant tells about a scaling mode the AWTTexturePaint
supports |
static int |
SIZE
constant tells about a scaling mode the AWTTexturePaint
supports |
static int |
STRETCHTOFIT
constant tells about a scaling mode the AWTTexturePaint
supports |
static int |
TILED
constant tells about a scaling mode the AWTTexturePaint
supports |
| Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
| Constructor Summary | |
AWTTexturePaint(AWTDevice device,
Texture texture,
int transparency)
Constructor that creates a AWTTexturePaint with the
Texture given by texture and the transparency
level given by transparency. |
|
AWTTexturePaint(AWTDevice device,
Texture texture,
int type,
int transparency)
Constructor that creates a AWTTexturePaint with the
Texture given by texture, the transparency
level given by transparency and the scaling mode given by
type. |
|
| Method Summary | |
java.awt.PaintContext |
createContext(java.awt.image.ColorModel colorModel,
java.awt.Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform transform,
java.awt.RenderingHints hints)
|
int |
getTransparency()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SIZE
AWTTexturePaint
supports
public static final int TILED
AWTTexturePaint
supports
public static final int STRETCHTOFIT
AWTTexturePaint
supports
public static final int BESTFIT
AWTTexturePaint
supports
public static final int CROPFITTED
AWTTexturePaint
supports
| Constructor Detail |
public AWTTexturePaint(AWTDevice device,
Texture texture,
int transparency)
AWTTexturePaint with the
Texture given by texture and the transparency
level given by transparency.
texture - the Texture to usetransparency - the transparency level given in percent
public AWTTexturePaint(AWTDevice device,
Texture texture,
int type,
int transparency)
AWTTexturePaint with the
Texture given by texture, the transparency
level given by transparency and the scaling mode given by
type.
texture - the Texture to usetype - the scaling mode for the texturetransparency - the transparency level given in percent| Method Detail |
public int getTransparency()
getTransparency in interface java.awt.Transparency
public java.awt.PaintContext createContext(java.awt.image.ColorModel colorModel,
java.awt.Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform transform,
java.awt.RenderingHints hints)
createContext in interface java.awt.Paint
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||