public class USPSIntelligentMailBean extends AbstractFourStateBean
doQuietZone, fontName, fontSize, height, moduleWidth, msgPos, pattern, quietZone| Constructor and Description |
|---|
USPSIntelligentMailBean()
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BarcodeDimension |
calcDimensions(String msg)
Calculates the dimension of a barcode with the given message.
|
void |
generateBarcode(CanvasProvider canvas,
String msg)
Generates a barcode using the given Canvas to render the barcode to its
output format.
|
double |
getVerticalQuietZone()
Returns the vertical quiet zone.
|
void |
setVerticalQuietZone(double height)
Sets the height of the vertical quiet zone.
|
void |
verifySettings()
Verifies whether the current settings of the bean are within the limits given by the
USPS Intelligent Mail specification.
|
getAscenderHeight, getBarHeight, getBarWidth, getChecksumMode, getIntercharGapWidth, getTrackHeight, setAscenderHeight, setChecksumMode, setIntercharGapWidth, setTrackHeight, updateHeightdoQuietZone, getBarHeight, getFontName, getFontSize, getHeight, getHumanReadableHeight, getModuleWidth, getMsgPosition, getPattern, getQuietZone, hasFontDescender, hasQuietZone, setBarHeight, setFontName, setFontSize, setHeight, setModuleWidth, setMsgPosition, setPattern, setQuietZonepublic double getVerticalQuietZone()
AbstractBarcodeBean.getQuietZone() is returned.getVerticalQuietZone in class AbstractFourStateBeanpublic void setVerticalQuietZone(double height)
setVerticalQuietZone in class AbstractBarcodeBeanheight - the height of the vertical quiet zone (in mm)public void generateBarcode(CanvasProvider canvas, String msg)
generateBarcode in interface BarcodeGeneratorgenerateBarcode in class AbstractBarcodeBeancanvas - CanvasProvider that the barcode is to be rendered on.msg - message to encodepublic BarcodeDimension calcDimensions(String msg)
calcDimensions in interface BarcodeGeneratorcalcDimensions in class AbstractBarcodeBeanmsg - message to use for calculation.public void verifySettings()
Copyright © 2003–2023. All rights reserved.