Package com.luciad.format.mif
Class TLcdMIFCustomBitmapSymbol
java.lang.Object
com.luciad.format.mif.TLcdMIFCustomBitmapSymbol
- All Implemented Interfaces:
ILcdMIFSymbol
This
ILcdMIFSymbol represents a MIF custom bitmap symbol resource.-
Constructor Summary
ConstructorsConstructorDescriptionTLcdMIFCustomBitmapSymbol(String aFilename, Color aColor, int aSize, int aCustomStyle) Creates a custom bitmap symbol. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Returns the color of this symbol.intReturns the custom style of this symbol.Returns the file name this symbol based on.intgetShape()Returns 0, since a custom bitmap symbol doesn't really have a shape index.intgetSize()Returns the size of this symbol.
-
Constructor Details
-
TLcdMIFCustomBitmapSymbol
Creates a custom bitmap symbol.- Parameters:
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.
-
-
Method Details
-
getShape
public int getShape()Returns 0, since a custom bitmap symbol doesn't really have a shape index.- Specified by:
getShapein interfaceILcdMIFSymbol- Returns:
- the shape of this symbol.
-
getFilename
Returns the file name this symbol based on.- Returns:
- the file name this symbol based on.
-
getColor
Description copied from interface:ILcdMIFSymbolReturns the color of this symbol.- Specified by:
getColorin interfaceILcdMIFSymbol- Returns:
- the color of this symbol.
-
getSize
public int getSize()Description copied from interface:ILcdMIFSymbolReturns the size of this symbol.- Specified by:
getSizein interfaceILcdMIFSymbol- Returns:
- the size of this symbol.
-
getCustomStyle
public int getCustomStyle()Returns the custom style of this symbol.- Returns:
- the custom style of this symbol.
-