org.bouncycastle.graphics.rt
Class Tile
java.lang.Object
|
+--org.bouncycastle.graphics.rt.Tile
- public class Tile
- extends java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
U
protected static final int U
V
protected static final int V
Tile
public Tile(java.awt.Image im)
- default constructor, a tiling with a repeating image.
- Parameters:
im
- the image to be used for the tiling
Tile
public Tile(java.awt.Image im,
boolean repeating)
- constructor, a tiling with an optionally repeating image.
- Parameters:
im
- the image to be used for the tilingrepeating
- true if we repeat, false if we don't.
getInstance
public static Tile getInstance(RMLReader in)
throws java.io.IOException
getPixel
public Pixel getPixel(float s,
float t)