|
XJRT Rendering Toolkit 1.0b06 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.autochthonous.graphics.rt.Tile
A tile.
By default tiles are repeating. Any image format supported by the JDK can be used together with the ".pix" format generated by the default renderer.
Example:
<Tile image="tile.gif" repeating="false"/>
Document Type Definition:
<!ENTITY %Boolean "(true|false)">
<!ENTITY %String "CDATA">
<!ELEMENT Tile EMPTY>
<!ATTLIST Tile
image %String; #REQUIRED
repeating %Boolean; "true">
Field Summary | |
protected static int |
U
|
protected static int |
V
|
Constructor Summary | |
Tile(java.awt.Image im)
default constructor, a tiling with a repeating image. |
|
Tile(java.awt.Image im,
boolean repeating)
constructor, a tiling with an optionally repeating image. |
Method Summary | |
boolean |
getDeltas(float s,
float t,
float[] deltas)
returns the greyscale differentials in s and t for the image at the position s and t |
static Tile |
getInstance(RMLReader in)
|
Pixel |
getPixel(float s,
float t)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int U
protected static final int V
Constructor Detail |
public Tile(java.awt.Image im)
im
- the image to be used for the tilingpublic Tile(java.awt.Image im, boolean repeating)
im
- the image to be used for the tilingrepeating
- true if we repeat, false if we don't.Method Detail |
public static Tile getInstance(RMLReader in) throws java.io.IOException
java.io.IOException
public Pixel getPixel(float s, float t)
public boolean getDeltas(float s, float t, float[] deltas)
|
XJRT Rendering Toolkit 1.0b06 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |