Package com.stimulsoft.report.barCodes
Class StiQRCodeBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiQRCodeBarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
- Direct Known Subclasses:
StiGS1QRCodeBarCodeType
The class describes the Barcode type - QR Code.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final 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
ConstructorsConstructorDescriptionStiQRCodeBarCodeType(double module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize) StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image) StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor) StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape, StiBrush bodyBrush, StiBrush eyeFrameBrush, StiBrush eyeBallBrush) StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape, StiBrush bodyBrush, StiBrush eyeFrameBrush, StiBrush eyeBallBrush, boolean processTilde) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbaseFillPolygons(StiGraphics context, StiBrush brush, List<List<StiPoint>> points, double zoom) voiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) protected voiddrawQRCode(StiGraphics context, StiRectangle rect, StiBarCode barCode, double zoom, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape) Gets or sets the error correction level.doubleGets os sets height factor of the bar code.getImage()doubledoublefinal StiQRCodeSizeGets or sets matrix size.doubleGets or sets width of the most fine element of the bar code.Gets a service name.booleanvoidLoadFromJsonObject(JSONObject jObject) voidsetBodyBrush(StiBrush bodyBrush) voidsetBodyShape(StiQRCodeBodyShapeType bodyShape) final voidvoidsetEyeBallBrush(StiBrush eyeBallBrush) voidsetEyeBallShape(StiQRCodeEyeBallShapeType eyeBallShape) voidsetEyeFrameBrush(StiBrush eyeFrameBrush) voidsetEyeFrameShape(StiQRCodeEyeFrameShapeType eyeFrameShape) voidsetHeight(double value) voidvoidsetImageBytes(String image) voidsetImageMultipleFactor(double imageMultipleFactor) final voidsetMatrixSize(StiQRCodeSize value) voidsetModule(double value) voidsetProcessTilde(boolean processTilde) 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
-
errorCorrectionLevel
-
processTilde
public boolean processTilde -
bodyShape
-
eyeFrameShape
-
eyeBallShape
-
bodyBrush
-
eyeFrameBrush
-
eyeBallBrush
-
-
Constructor Details
-
StiQRCodeBarCodeType
public StiQRCodeBarCodeType() -
StiQRCodeBarCodeType
public StiQRCodeBarCodeType(double module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize) -
StiQRCodeBarCodeType
public StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image) -
StiQRCodeBarCodeType
public StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor) -
StiQRCodeBarCodeType
public StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape, StiBrush bodyBrush, StiBrush eyeFrameBrush, StiBrush eyeBallBrush) -
StiQRCodeBarCodeType
public StiQRCodeBarCodeType(float module, StiQRCodeErrorCorrectionLevel errorCorrectionLevel, StiQRCodeSize matrixSize, String image, double imageMultipleFactor, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape, StiBrush bodyBrush, StiBrush eyeFrameBrush, StiBrush eyeBallBrush, boolean processTilde)
-
-
Method Details
-
isProcessTilde
public boolean isProcessTilde() -
setProcessTilde
public void setProcessTilde(boolean processTilde) -
getImage
-
setImage
-
getImageBytes
-
setImageBytes
-
getImageMultipleFactor
public double getImageMultipleFactor() -
setImageMultipleFactor
public void setImageMultipleFactor(double imageMultipleFactor) -
getBodyShape
-
setBodyShape
-
getEyeFrameShape
-
setEyeFrameShape
-
getEyeBallShape
-
setEyeBallShape
-
getBodyBrush
-
setBodyBrush
-
getEyeFrameBrush
-
setEyeFrameBrush
-
getEyeBallBrush
-
setEyeBallBrush
-
tryTakeGdiImage
- Throws:
IOException
-
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
-
getErrorCorrectionLevel
Gets or sets the error correction level. -
setErrorCorrectionLevel
-
getMatrixSize
Gets or sets matrix size. -
setMatrixSize
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
drawQRCode
protected void drawQRCode(StiGraphics context, StiRectangle rect, StiBarCode barCode, double zoom, StiQRCodeBodyShapeType bodyShape, StiQRCodeEyeFrameShapeType eyeFrameShape, StiQRCodeEyeBallShapeType eyeBallShape) throws Exception - Throws:
Exception
-
baseFillPolygons
protected void baseFillPolygons(StiGraphics context, StiBrush brush, List<List<StiPoint>> points, double zoom) throws Exception - Throws:
Exception
-
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
-