Package com.stimulsoft.report.barCodes
Class StiDataMatrixBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiDataMatrixBarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
- Direct Known Subclasses:
StiGS1DataMatrixBarCodeType
The class describes the Barcode type - DataMatrix.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classNested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.BarcodeCommandCode, StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject -
Field Summary
FieldsFields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiDataMatrixBarCodeType(double module, StiDataMatrixEncodingType encodingType, boolean useRectangularSymbols, StiDataMatrixSize matrixSize) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) Gets or sets type of encoding type.doubleGets os sets height factor of the bar code.doublefinal StiDataMatrixSizeGets or sets matrix size.doubleGets or sets width of the most fine element of the bar code.Gets a service name.final booleanGets or sets value which indicates will RectangularSymbols be used or not.booleanvoidLoadFromJsonObject(JSONObject jObject) final voidvoidsetHeight(double value) final voidsetMatrixSize(StiDataMatrixSize value) voidsetModule(double value) voidsetProcessTilde(boolean processTilde) final voidsetUseRectangularSymbols(boolean value) Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
baseDrawImage, 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, isTextSpacing, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect, unpackTilde, unpackTildeMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
processTilde
public boolean processTilde
-
-
Constructor Details
-
StiDataMatrixBarCodeType
public StiDataMatrixBarCodeType() -
StiDataMatrixBarCodeType
public StiDataMatrixBarCodeType(double module, StiDataMatrixEncodingType encodingType, boolean useRectangularSymbols, StiDataMatrixSize matrixSize)
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getModule
public double getModule()Gets or sets width of the most fine element of the bar code.- Specified by:
getModulein classStiBarCodeTypeService
-
setModule
public void setModule(double value) - Specified by:
setModulein classStiBarCodeTypeService
-
getHeight
public double getHeight()Gets os sets height factor of the bar code.- Specified by:
getHeightin classStiBarCodeTypeService
-
setHeight
public void setHeight(double value) - Specified by:
setHeightin classStiBarCodeTypeService
-
isProcessTilde
public boolean isProcessTilde() -
setProcessTilde
public void setProcessTilde(boolean processTilde) -
getEncodingType
Gets or sets type of encoding type. -
setEncodingType
-
getMatrixSize
Gets or sets matrix size. -
setMatrixSize
-
getUseRectangularSymbols
public final boolean getUseRectangularSymbols()Gets or sets value which indicates will RectangularSymbols be used or not. -
setUseRectangularSymbols
public final void setUseRectangularSymbols(boolean value) -
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-