public class StiFIMBarCodeType extends StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject| Modifier and Type | Field and Description |
|---|---|
protected static double |
defaultFIMModule |
protected static double |
FIMLineHeightForCut |
protected static double |
FIMLineHeightLong |
protected static double |
FIMLineHeightShort |
protected static double |
FIMMainHeight |
protected static double |
FIMSpaceBottom |
protected static double |
FIMSpaceTop |
protected java.lang.String |
FIMSymbols |
protected java.lang.String[] |
FIMTable |
protected static double |
FIMTextHeight |
protected static double |
FIMTextPosition |
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiFIMBarCodeType() |
StiFIMBarCodeType(double module,
double height,
boolean addClearZone) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
boolean |
getAddClearZone()
Gets or sets value which indicates will show Clear Zone or no.
|
java.lang.String |
getDefaultCodeValue() |
protected double |
getFIMSpaceLeft() |
protected double |
getFIMSpaceRight() |
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 |
setAddClearZone(boolean 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 FIMSymbols
protected java.lang.String[] FIMTable
protected static final double defaultFIMModule
protected static final double FIMSpaceTop
protected static final double FIMSpaceBottom
protected static final double FIMLineHeightShort
protected static final double FIMLineHeightLong
protected static final double FIMTextPosition
protected static final double FIMTextHeight
protected static final double FIMMainHeight
protected static final double FIMLineHeightForCut
public StiFIMBarCodeType()
public StiFIMBarCodeType(double module,
double height,
boolean addClearZone)
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 boolean getAddClearZone()
public final void setAddClearZone(boolean value)
public double getLabelFontHeight()
getLabelFontHeight in class StiBarCodeTypeServiceprotected final double getFIMSpaceLeft()
protected final double getFIMSpaceRight()
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.