org.xith3d.scenegraph
Class ASCIITexture
java.lang.Object
org.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.NodeComponent
org.xith3d.scenegraph.Texture
org.xith3d.scenegraph.Texture2D
org.xith3d.scenegraph.ASCIITexture
- All Implemented Interfaces:
- org.jagatoo.datatypes.Enableable, org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.jagatoo.loaders.textures.AbstractTexture
public class ASCIITexture
- extends Texture2D
This is a Texture with all printable ASCII characters on it.
For each character a set of texture coordinates is provided in a Map.
|
Constructor Summary |
ASCIITexture(org.openmali.types.twodee.Sized2iRO[] charSizes,
org.openmali.vecmath2.TexCoord2f[][] texCoords,
CharIndex charIndex)
|
| Methods inherited from class org.xith3d.scenegraph.Texture2D |
checkImageType, cloneNodeComponent, createDrawTexture, createDrawTexture, duplicateNodeComponent, getImage0, getTextureCanvas, hasTextureCanvas, hasUpdateList, setHasUpdateList, setSizeChanged |
| Methods inherited from class org.xith3d.scenegraph.Texture |
addImage, enableAutoFreeLocalData, finalize, freeOpenGLResources, getBoundaryColor, getBoundaryColor, getBoundaryModeS, getBoundaryModeT, getBoundaryWidth, getCacheKey, getDefaultFilter, getFilter, getFormat, getHeight, getImage, getImagesCount, getMipMapMode, getOpenGLReferences, getOriginalHeight, getOriginalSize, getOriginalWidth, getResourceName, getSize, getStateId, getType, getWidth, hasSizeChanged, isDirty, isEnabled, isMarkedAsLocalDataToBeFreed, removeFromCache, setBoundaryColor, setBoundaryColor, setBoundaryModeS, setBoundaryModes, setBoundaryModeT, setBoundaryWidth, setCacheKey, setDefaultFilter, setEnabled, setFilter, setImage, setImage, setResourceName, toString |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jagatoo.loaders.textures.AbstractTexture |
getName, setName |
ASCIITexture
public ASCIITexture(org.openmali.types.twodee.Sized2iRO[] charSizes,
org.openmali.vecmath2.TexCoord2f[][] texCoords,
CharIndex charIndex)
getCharIndex
public final CharIndex getCharIndex()
getTextureCoordinates
public org.openmali.vecmath2.TexCoord2f[] getTextureCoordinates(char ch)
getCharSize
public org.openmali.types.twodee.Sized2iRO getCharSize(char ch)