de.yaina.trackrenderer
Class Pixmaps
java.lang.Object
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.
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 |
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
Pixmaps
public Pixmaps()
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