public class StiPlesseyBarCodeType extends StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject| Modifier and Type | Field and Description |
|---|---|
protected static double |
PlesseyLineHeightForCut |
protected static double |
PlesseyLineHeightLong |
protected static double |
PlesseyLineHeightShort |
protected static double |
PlesseyMainHeight |
protected static double |
PlesseySpaceBottom |
protected static double |
PlesseySpaceLeft |
protected static double |
PlesseySpaceRight |
protected static double |
PlesseySpaceTop |
protected java.lang.String |
PlesseySymbols |
protected static double |
PlesseyTextHeight |
protected static double |
PlesseyTextPosition |
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiPlesseyBarCodeType() |
StiPlesseyBarCodeType(double module,
double height,
StiPlesseyCheckSum checkSum1,
StiPlesseyCheckSum checkSum2) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
StiPlesseyCheckSum |
getCheckSum1()
Gets or sets mode of CheckSum1.
|
StiPlesseyCheckSum |
getCheckSum2()
Gets or sets mode of CheckSum2.
|
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.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setCheckSum1(StiPlesseyCheckSum value) |
void |
setCheckSum2(StiPlesseyCheckSum value) |
void |
setHeight(double value) |
void |
setModule(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 PlesseySymbols
protected static final double PlesseySpaceLeft
protected static final double PlesseySpaceRight
protected static final double PlesseySpaceTop
protected static final double PlesseySpaceBottom
protected static final double PlesseyLineHeightShort
protected static final double PlesseyLineHeightLong
protected static final double PlesseyTextPosition
protected static final double PlesseyTextHeight
protected static final double PlesseyMainHeight
protected static final double PlesseyLineHeightForCut
public StiPlesseyBarCodeType()
public StiPlesseyBarCodeType(double module,
double height,
StiPlesseyCheckSum checkSum1,
StiPlesseyCheckSum checkSum2)
public java.lang.String getServiceName()
getServiceName in class StiServicepublic 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 StiPlesseyCheckSum getCheckSum1()
public final void setCheckSum1(StiPlesseyCheckSum value)
public final StiPlesseyCheckSum getCheckSum2()
public final void setCheckSum2(StiPlesseyCheckSum value)
public 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.