public class SaveableFontSizer
extends com.bbn.openmap.omGraphics.FontSizer
Constructor and Description |
---|
SaveableFontSizer(float baseScale,
int multiplier,
int minPointSize,
int maxPointSize)
Create a SaveableFontSizer from the specified font parameters.
|
SaveableFontSizer(java.awt.Font font,
float baseScale,
int multiplier,
int minPointSize,
int maxPointSize)
Create a SaveableFontSizer from the specified font parameters, associated with the
specified AWT Font object.
|
SaveableFontSizer(com.bbn.openmap.omGraphics.FontSizer source)
Clone a SaveableFontSizer from another FontSizer.
|
Modifier and Type | Method and Description |
---|---|
float |
getBaseScale()
Get the OpenMap scaling value used for this FontSizer.
|
public SaveableFontSizer(float baseScale, int multiplier, int minPointSize, int maxPointSize)
baseScale
- OpenMap Projection scalemultiplier
- multipler of how big the font should beminPointSize
- minimum size for fontmaxPointSize
- maximum size for fontpublic SaveableFontSizer(java.awt.Font font, float baseScale, int multiplier, int minPointSize, int maxPointSize)
font
- Font to associate with the FontSizerbaseScale
- OpenMap Projection scalemultiplier
- multipler of how big the font should beminPointSize
- minimum size for fontmaxPointSize
- maximum size for fontpublic SaveableFontSizer(com.bbn.openmap.omGraphics.FontSizer source)
source
- FontSizer to use as a source