Package com.stimulsoft.report.barCodes
Class StiAztecBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiAztecBarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
Copyright Stimulsoft
-
Nested Class Summary
Nested 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
ConstructorsConstructorDescriptionStiAztecBarCodeType(float module, int errorCorrectionLevel, StiAztecSize matrixSize, int codePage) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) static BufferedImageGetBarcodeImage(String code, int zoom) intintthe error correction level.doubleheight factor of the bar code.doubledoublewidth of the most fine element of the bar code.boolean[]voidLoadFromJsonObject(JSONObject jObject) voidsetCodePage(int value) voidsetErrorCorrectionLevel(int value) the error correction level.voidsetHeight(double height) height factor of the bar code.voidsetMatrixSize(StiAztecSize matrixSize) voidsetModule(double value) width of the most fine element of the bar code.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, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
ServiceName
-
DefaultCodeValue
-
-
Constructor Details
-
StiAztecBarCodeType
public StiAztecBarCodeType() -
StiAztecBarCodeType
public StiAztecBarCodeType(float module, int errorCorrectionLevel, StiAztecSize matrixSize, int codePage)
-
-
Method Details
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getModule
public double getModule()width of the most fine element of the bar code.- Specified by:
getModulein classStiBarCodeTypeService- Returns:
- the module
-
setModule
public void setModule(double value) width of the most fine element of the bar code.- Specified by:
setModulein classStiBarCodeTypeService- Parameters:
module- the module to set
-
getHeight
public double getHeight()height factor of the bar code.- Specified by:
getHeightin classStiBarCodeTypeService- Returns:
- the height
-
setHeight
public void setHeight(double height) height factor of the bar code.- Specified by:
setHeightin classStiBarCodeTypeService- Parameters:
height- the height to set
-
getErrorCorrectionLevel
public int getErrorCorrectionLevel()the error correction level.- Returns:
- the errorCorrectionLevel
-
setErrorCorrectionLevel
public void setErrorCorrectionLevel(int value) the error correction level.- Parameters:
errorCorrectionLevel- the errorCorrectionLevel to set
-
getCodePage
public int getCodePage()- Returns:
- the codePage
-
setCodePage
public void setCodePage(int value) - Parameters:
codePage- the codePage to set
-
getMatrixSize
- Returns:
- the matrixSize
-
setMatrixSize
- Parameters:
matrixSize- the matrixSize to set
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-
getVisibleProperties
public boolean[] getVisibleProperties() -
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
GetBarcodeImage
-
createNew
-