de.yaina.trackrenderer
Class Pixmaps

java.lang.Object
  extended by de.yaina.trackrenderer.Pixmaps

public final class Pixmaps
extends java.lang.Object

A collection of point / line styles and markers. Quick and dirty. Should rather load XPM or PNG. Really.


Field Summary
static int P_LINE1
           
static int P_LINE11
           
static int P_LINE3
           
static int P_LINE5
           
static int P_LINE7
           
static int P_LINE9
           
static int P_MARKER1
           
static int P_MARKER2
           
 
Constructor Summary
Pixmaps()
           
 
Method Summary
static byte[][] getPixmap(int pixmap)
          Return array of pixmap of point/line style
static int getSize(int pixmap)
          Return width of point/line style
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_LINE1

public static final int P_LINE1
See Also:
Constant Field Values

P_LINE3

public static final int P_LINE3
See Also:
Constant Field Values

P_LINE5

public static final int P_LINE5
See Also:
Constant Field Values

P_LINE7

public static final int P_LINE7
See Also:
Constant Field Values

P_LINE9

public static final int P_LINE9
See Also:
Constant Field Values

P_LINE11

public static final int P_LINE11
See Also:
Constant Field Values

P_MARKER1

public static final int P_MARKER1
See Also:
Constant Field Values

P_MARKER2

public static final int P_MARKER2
See Also:
Constant Field Values
Constructor Detail

Pixmaps

public Pixmaps()
Method Detail

getSize

public static int getSize(int pixmap)
Return width of point/line style

Parameters:
pixmap - index of style
Returns:
width

getPixmap

public static byte[][] getPixmap(int pixmap)
Return array of pixmap of point/line style

Parameters:
pixmap - index of style
Returns:
actual pixmap