| java.lang.Object | |
| ↳ | com.pspdfkit.signatures.SignatureAppearance.SignatureGraphic |
Contains the graphic that will be used as the signature.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Creator<SignatureAppearance.SignatureGraphic> | CREATOR | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | describeContents() | ||||||||||
| boolean | equals(Object o) | ||||||||||
| static SignatureAppearance.SignatureGraphic |
fromBitmap(Uri uri)
Creates a new
SignatureAppearance.SignatureGraphic from the image located at the given URI. | ||||||||||
| static SignatureAppearance.SignatureGraphic |
fromBitmap(DataProvider dataProvider)
Creates a new
SignatureAppearance.SignatureGraphic from the image contained in the given data provider. | ||||||||||
| static SignatureAppearance.SignatureGraphic |
fromPdf(DocumentSource source)
Creates a new
SignatureAppearance.SignatureGraphic from the PDF found at the given document source. | ||||||||||
| DataProvider |
getDataProvider()
The
DataProvider of this SignatureAppearance.SignatureGraphic. | ||||||||||
| Uri |
getUri()
The
Uri of this SignatureAppearance.SignatureGraphic. | ||||||||||
| int | hashCode() | ||||||||||
| boolean | isBitmap() | ||||||||||
| void | writeToParcel(Parcel dest, int flags) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Creates a new SignatureAppearance.SignatureGraphic from the image located at the given URI.
| uri | Location of the image to use. |
|---|
SignatureAppearance.SignatureGraphic pointing to the given image.
Creates a new SignatureAppearance.SignatureGraphic from the image contained in the given data provider.
| dataProvider | The DataProvider containing the image. This needs to implement Parcelable. |
|---|
SignatureAppearance.SignatureGraphic pointing to the given image.
Creates a new SignatureAppearance.SignatureGraphic from the PDF found at the given document source.
| source | The DocumentSource containing the PDF. If this is using a DataProvider
this needs to implement Parcelable. Furthermore the PDF should not be password protected. |
|---|
SignatureAppearance.SignatureGraphic pointing to the given PDF.
The DataProvider of this SignatureAppearance.SignatureGraphic.
If this is null getUri() is guaranteed to be non-null.
DataProvider containing the bitmap or PDF, or null is a URI is used.
The Uri of this SignatureAppearance.SignatureGraphic.
If this is null getDataProvider() is guaranteed to be non-null.
Uri where the bitmap or PDF is located, or null if a data provider is used.
true if this SignatureAppearance.SignatureGraphic is a bitmap, false otherwise.