public class StiCode39BarCodeType extends StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject| Modifier and Type | Field and Description |
|---|---|
protected static double |
Code39LineHeightForCut |
protected static double |
Code39LineHeightLong |
protected static double |
Code39LineHeightShort |
protected static double |
Code39MainHeight |
protected static double |
Code39SpaceBottom |
protected static double |
Code39SpaceLeft |
protected static double |
Code39SpaceRight |
protected static double |
Code39SpaceTop |
protected int |
Code39StartStopSymbolIndex |
protected java.lang.String |
Code39Symbols |
protected java.lang.String[] |
Code39Table |
protected static double |
Code39TextHeight |
protected static double |
Code39TextPosition |
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiCode39BarCodeType() |
StiCode39BarCodeType(double module,
double height,
double ratio,
StiCheckSum checkSum) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
CodeToBar(java.lang.String inputCode) |
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
StiCheckSum |
getCheckSum()
Gets or sets mode of checksum.
|
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.
|
double |
getRatio()
Get or sets value, which indicates WideToNarrow ratio.
|
java.lang.String |
getServiceName()
Gets a service name.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setCheckSum(StiCheckSum value) |
void |
setHeight(double value) |
void |
setModule(double value) |
void |
setRatio(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 Code39Symbols
protected int Code39StartStopSymbolIndex
protected java.lang.String[] Code39Table
protected static final double Code39SpaceLeft
protected static final double Code39SpaceRight
protected static final double Code39SpaceTop
protected static final double Code39SpaceBottom
protected static final double Code39LineHeightShort
protected static final double Code39LineHeightLong
protected static final double Code39TextPosition
protected static final double Code39TextHeight
protected static final double Code39MainHeight
protected static final double Code39LineHeightForCut
public StiCode39BarCodeType()
public StiCode39BarCodeType(double module,
double height,
double ratio,
StiCheckSum checkSum)
public java.lang.String getServiceName()
getServiceName in class StiServicepublic final StiCheckSum getCheckSum()
public final void setCheckSum(StiCheckSum value)
public double getModule()
getModule in class StiBarCodeTypeServicepublic void setModule(double value)
setModule in class StiBarCodeTypeServicepublic double getHeight()
getHeight in class StiBarCodeTypeServicepublic void setHeight(double value)
setHeight in class StiBarCodeTypeServicepublic final double getRatio()
public final void setRatio(double value)
public double getLabelFontHeight()
getLabelFontHeight in class StiBarCodeTypeServiceprotected final java.lang.String CodeToBar(java.lang.String inputCode)
public 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.