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
ConstructorDescriptionTLcdMIFCustomBitmapSymbol
(String aFilename, Color aColor, int aSize, int aCustomStyle) Creates a custom bitmap symbol. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns the color of this symbol.int
Returns the custom style of this symbol.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.
-
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:
getShape
in 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:ILcdMIFSymbol
Returns the color of this symbol.- Specified by:
getColor
in interfaceILcdMIFSymbol
- Returns:
- the color of this symbol.
-
getSize
public int getSize()Description copied from interface:ILcdMIFSymbol
Returns the size of this symbol.- Specified by:
getSize
in 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.
-