public class CPDFDigitalSigConfig
extends java.lang.Object
Constructor and Description |
---|
CPDFDigitalSigConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Get the digital signature content.
|
int |
getContentColor()
Get content color of the digital signature.
|
android.graphics.Bitmap |
getImage()
Get the digital signature image.
|
android.graphics.Bitmap |
getLogo()
Get the digital signature logo.
|
java.lang.String |
getText()
Get the digital signature text.
|
int |
getTextColor()
Get text color of the digital signature.
|
boolean |
isContentAlginLeft()
Whether the content is left aligned.
|
boolean |
isDrawLogo()
Whether drawing logo.
|
boolean |
isDrawOnlyContent()
Whether only drawing content.
|
void |
setContent(java.lang.String content)
Set content of the digital signature.
|
void |
setContentAlginLeft(boolean contentAlginLeft)
Set whether to align the content to left.
|
void |
setContentColor(int contentColor)
Set content color.
|
void |
setDrawLogo(boolean drawLogo)
Set whether to only draw the logo.
|
void |
setDrawOnlyContent(boolean drawOnlyContent)
Set whether to only draw the content.
|
void |
setImage(android.graphics.Bitmap image)
Set the image of the digital signature.
|
void |
setLogo(android.graphics.Bitmap logo)
Set the logo of the digital signature.
|
void |
setText(java.lang.String text)
Set the text of the digital signature.
|
void |
setTextColor(int textColor)
Set text color of the digital signature.
|
public java.lang.String getContent()
public boolean isDrawOnlyContent()
public boolean isDrawLogo()
public boolean isContentAlginLeft()
public java.lang.String getText()
public android.graphics.Bitmap getLogo()
public android.graphics.Bitmap getImage()
public int getContentColor()
public int getTextColor()
public void setContent(java.lang.String content)
content
- Content of the digital signature.public void setDrawOnlyContent(boolean drawOnlyContent)
drawOnlyContent
- Whether to only draw the content.public void setDrawLogo(boolean drawLogo)
drawLogo
- Whether to only draw the logo.public void setContentAlginLeft(boolean contentAlginLeft)
contentAlginLeft
- Whether to align the content to left.public void setText(java.lang.String text)
text
- Text of the digital signature.public void setLogo(android.graphics.Bitmap logo)
logo
- Logo of the digital signature.public void setImage(android.graphics.Bitmap image)
image
- Image of the digital signature.public void setContentColor(int contentColor)
contentColor
- Content color.public void setTextColor(int textColor)
textColor
- Text color.