public class TLcdMIFCustomBitmapSymbol extends Object implements ILcdMIFSymbol
ILcdMIFSymbol
represents a MIF custom bitmap symbol resource.Constructor and Description |
---|
TLcdMIFCustomBitmapSymbol(String aFilename,
Color aColor,
int aSize,
int aCustomStyle)
Creates a custom bitmap symbol.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Returns the color of this symbol.
|
int |
getCustomStyle()
Returns the custom style of this symbol.
|
String |
getFilename()
Returns the file name this symbol based on.
|
int |
getShape()
Returns 0, since a custom bitmap symbol doesn't really have a shape index.
|
int |
getSize()
Returns the size of this symbol.
|
public TLcdMIFCustomBitmapSymbol(String aFilename, Color aColor, int aSize, int aCustomStyle)
aFilename
- the file name of the resource this symbol is based on.aColor
- color of this symbol.aSize
- size of this symbol.aCustomStyle
- custom style of this symbol.public int getShape()
getShape
in interface ILcdMIFSymbol
public String getFilename()
public Color getColor()
ILcdMIFSymbol
getColor
in interface ILcdMIFSymbol
public int getSize()
ILcdMIFSymbol
getSize
in interface ILcdMIFSymbol
public int getCustomStyle()