public class StiPostnetBarCodeType extends StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject| Modifier and Type | Field and Description |
|---|---|
protected static double |
PostnetLineHeightForCut |
protected static double |
PostnetLineHeightLong |
protected static double |
PostnetLineHeightShort |
protected static double |
PostnetMainHeight |
protected static double |
PostnetSpaceBottom |
protected static double |
PostnetSpaceLeft |
protected static double |
PostnetSpaceRight |
protected static double |
PostnetSpaceTop |
protected java.lang.String |
PostnetSymbols |
protected static double |
PostnetTextHeight |
protected static double |
PostnetTextPosition |
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiPostnetBarCodeType() |
StiPostnetBarCodeType(double module,
double height,
double space) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
java.lang.String |
getDefaultCodeValue() |
double |
getHeight()
Gets os sets height factor of the bar code.
|
double |
getLabelFontHeight() |
double |
getModule()
Gets or sets width of the most fine element of the bar code.
|
java.lang.String |
getServiceName()
Gets a service name.
|
double |
getSpace()
Gets or sets space between elements of bar code.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setHeight(double value) |
void |
setModule(double value) |
void |
setSpace(double value) |
baseDrawRectangle, baseDrawString, baseFillEllipse, baseFillPolygon, baseFillRectangle, baseFillRectangle2D, baseMeasureString, baseRollbackTransform, baseTransform, CalculateSize2, CalculateSizeFull, CheckCodeSymbols, draw2DBarCode, drawBarCode, drawBarCodeError, drawBarCodeError, drawBars, drawMaxicode, getBarCodeData, GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, GetSymbolsStringWidth, GetSymbolWidth, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, IsSymbolSpace, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRectclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferenceprotected java.lang.String PostnetSymbols
protected static final double PostnetSpaceLeft
protected static final double PostnetSpaceRight
protected static final double PostnetSpaceTop
protected static final double PostnetSpaceBottom
protected static final double PostnetLineHeightLong
protected static final double PostnetLineHeightShort
protected static final double PostnetTextPosition
protected static final double PostnetTextHeight
protected static final double PostnetMainHeight
protected static final double PostnetLineHeightForCut
public StiPostnetBarCodeType()
public StiPostnetBarCodeType(double module,
double height,
double space)
public java.lang.String getServiceName()
getServiceName in class StiServicepublic double getModule()
getModule in class StiBarCodeTypeServicepublic void setModule(double value)
setModule in class StiBarCodeTypeServicepublic final double getSpace()
public final void setSpace(double value)
public double getHeight()
getHeight in class StiBarCodeTypeServicepublic void setHeight(double value)
setHeight in class StiBarCodeTypeServicepublic double getLabelFontHeight()
getLabelFontHeight in class StiBarCodeTypeServicepublic void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws java.lang.Exception
draw in class StiBarCodeTypeServicejava.lang.Exceptionpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in class StiBarCodeTypeServiceJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in class StiBarCodeTypeServiceJSONExceptionpublic java.lang.String getDefaultCodeValue()
getDefaultCodeValue in class StiBarCodeTypeServiceCopyright © 2019 Stimulsoft. All Rights Reserved.