public class StiQRCodeBarCodeType extends StiBarCodeTypeService
| Modifier and Type | Class and Description |
|---|---|
protected static class |
StiQRCodeBarCodeType.StiQRCodeException |
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObjectDefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiQRCodeBarCodeType() |
StiQRCodeBarCodeType(double module,
StiQRCodeErrorCorrectionLevel errorCorrectionLevel,
StiQRCodeSize matrixSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
java.lang.String |
getDefaultCodeValue() |
StiQRCodeErrorCorrectionLevel |
getErrorCorrectionLevel()
Gets or sets the error correction level.
|
double |
getHeight()
Gets os sets height factor of the bar code.
|
double |
getLabelFontHeight() |
StiQRCodeSize |
getMatrixSize()
Gets or sets matrix size.
|
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 |
setErrorCorrectionLevel(StiQRCodeErrorCorrectionLevel value) |
void |
setHeight(double value) |
void |
setMatrixSize(StiQRCodeSize 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, setReferencepublic StiQRCodeBarCodeType()
public StiQRCodeBarCodeType(double module,
StiQRCodeErrorCorrectionLevel errorCorrectionLevel,
StiQRCodeSize matrixSize)
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 StiQRCodeErrorCorrectionLevel getErrorCorrectionLevel()
public final void setErrorCorrectionLevel(StiQRCodeErrorCorrectionLevel value)
public final StiQRCodeSize getMatrixSize()
public final void setMatrixSize(StiQRCodeSize 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.