public abstract class QRCodeSignOptions extends SignTextOptions implements IOpacity
Represents the QR-Code Signature Options.
DEFAULT_BKGR_COLOR, DEFAULT_FORE_COLOR
DEFAULT_PPM, imageBorderData
Constructor and Description |
---|
QRCodeSignOptions()
Initializes a new instance of the QRCodeSignOptions class with default values.
|
QRCodeSignOptions(String text)
Initializes a new instance of the QRCodeSignOptions class with text.
|
Modifier and Type | Method and Description |
---|---|
int |
getBorderDashStyle()
Gets or sets the signature border style.
|
boolean |
getBorderVisiblity()
Gets or sets the signature border visibility.
|
double |
getBorderWeight()
Gets or sets the weight of the signature border.
|
QRCodeType |
getEncodeType()
Get or set QRCode type.
|
com.groupdocs.signature.domain.ImageBorderData |
getImageBorder()
Gets image border data.
|
protected com.groupdocs.signature.domain.helpers.ImageHelper |
getImageHelper() |
double |
getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
void |
setBorderDashStyle(int value)
Gets or sets the signature border style.
|
void |
setBorderVisiblity(boolean value)
Gets or sets the signature border visibility.
|
void |
setBorderWeight(double value)
Gets or sets the weight of the signature border.
|
void |
setEncodeType(QRCodeType value)
Get or set QRCode type.
|
void |
setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
String |
toString()
Override string conversion
|
void |
validate()
Internal method to validate the QRCodeType options parameters
|
getBackgroundColor, getBackgroundColorInternal, getBorderColor, getBorderColorInternal, getFont, getForeColor, getForeColorInternal, getHeight, getHorizontalAlignment, getImageStream, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSignPages, getSizeMeasureType, getText, getTop, getVerticalAlignment, getWidth, isHorizontalAlignmentSet, isVerticalAlignmentSet, release, setBackgroundColor, setBorderColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setText, setTop, setVerticalAlignment, setWidth
getAppearance, getDocumentPageNumber, getDocumentPPM, getPagesSetup, getPropertyOrDefault, getPropertyOrDefault, getSignatureConfig, getSignPagesQueue, getSpecificRectangle, isRotationChanged, onError, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged, setSignatureConfig, setSpecificRectangle
public QRCodeSignOptions()
Initializes a new instance of the QRCodeSignOptions class with default values.
public QRCodeSignOptions(String text)
Initializes a new instance of the QRCodeSignOptions class with text.
text
- Signature textpublic QRCodeType getEncodeType()
Get or set QRCode type.
public void setEncodeType(QRCodeType value)
Get or set QRCode type.
public boolean getBorderVisiblity()
Gets or sets the signature border visibility.
public void setBorderVisiblity(boolean value)
Gets or sets the signature border visibility.
public int getBorderDashStyle()
Gets or sets the signature border style.
public void setBorderDashStyle(int value)
Gets or sets the signature border style.
public double getBorderWeight()
Gets or sets the weight of the signature border.
public void setBorderWeight(double value)
Gets or sets the weight of the signature border.
public double getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.
getOpacity
in interface IOpacity
public void setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.
setOpacity
in interface IOpacity
protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
getImageHelper
in class SignTextOptions
public void validate()
Internal method to validate the QRCodeType options parameters
validate
in class SignTextOptions
public com.groupdocs.signature.domain.ImageBorderData getImageBorder()
Gets image border data.
getImageBorder
in class SignOptions
public String toString()
Override string conversion
toString
in class SignTextOptions
Copyright © 2017. All rights reserved.