fromBitmap

Creates a new 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.

Return

The SignatureGraphic pointing to the given image.

Parameters

uri

Location of the image to use.


Creates a new SignatureGraphic from the image contained in the given data provider.

Return

The SignatureGraphic pointing to the given image.

Parameters

dataProvider

The DataProvider containing the image. This needs to implement Parcelable.