Class TLcdMIFCustomBitmapSymbol

java.lang.Object
com.luciad.format.mif.TLcdMIFCustomBitmapSymbol
All Implemented Interfaces:
ILcdMIFSymbol

public class TLcdMIFCustomBitmapSymbol extends Object implements ILcdMIFSymbol
This ILcdMIFSymbol represents a MIF custom bitmap symbol resource.
  • Constructor Details

    • TLcdMIFCustomBitmapSymbol

      public TLcdMIFCustomBitmapSymbol(String aFilename, Color aColor, int aSize, int aCustomStyle)
      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 interface ILcdMIFSymbol
      Returns:
      the shape of this symbol.
    • getFilename

      public String getFilename()
      Returns the file name this symbol based on.
      Returns:
      the file name this symbol based on.
    • getColor

      public Color getColor()
      Description copied from interface: ILcdMIFSymbol
      Returns the color of this symbol.
      Specified by:
      getColor in interface ILcdMIFSymbol
      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 interface ILcdMIFSymbol
      Returns:
      the size of this symbol.
    • getCustomStyle

      public int getCustomStyle()
      Returns the custom style of this symbol.
      Returns:
      the custom style of this symbol.