java.lang.Object | |
↳ | com.pspdfkit.signatures.SignatureAppearance.SignatureGraphic |
Contains the graphic that will be used as the signature.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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()
Whether or not this
SignatureAppearance.SignatureGraphic is a bitmap. | ||||||||||
String | toString() | ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new SignatureAppearance.SignatureGraphic
from the image located at the given URI. This
method supports file:///
URIs for accessing image files on the local file system,
content://
URIs for loading an image from a content provider, and file:///android_asset/
URIs for accessing image files from the app's assets.
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.
Whether or not this SignatureAppearance.SignatureGraphic
is a bitmap.
true if this SignatureAppearance.SignatureGraphic
is a bitmap, false
otherwise.