|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SymbolRenderer
Specifies an object that takes a vector-based symbol file and renders it to a bitmap.
Method Summary | |
---|---|
BufferedImage |
renderSymbol(InputStream fis)
Renders the symbol specified in the given FileInputStream in its
recommended/default dimension and returns the resulting image as a
BufferedImage . |
BufferedImage |
renderSymbol(InputStream fis,
int height)
Renders the symbol specified in the given FileInputStream ,
scaled to have the given height while maintaining the aspect ratio, and
returns the resulting image as a BufferedImage . |
Method Detail |
---|
BufferedImage renderSymbol(InputStream fis)
FileInputStream
in its
recommended/default dimension and returns the resulting image as a
BufferedImage
.
fis
- the FileInputStream
containing the symbol
BufferedImage renderSymbol(InputStream fis, int height)
FileInputStream
,
scaled to have the given height while maintaining the aspect ratio, and
returns the resulting image as a BufferedImage
.
fis
- the FileInputStream
containing the symbol
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |