Companion
object Companion
Properties
Functions
Link copied to clipboard
Creates a signature object by parsing the provided JSON object. The JSON object you provide should be initially obtained via toJson.
Creates a signature object by parsing the provided JSON object. The JSON object you provide should be initially obtained via toJson. This method also allows you to specify an id which will be assigned to the signature created from the given JSON. This id will also be assigned by the framework when retrieving the signatures from the default storage.
Link copied to clipboard
fun textToBitmap(text: String, font: Font, @ColorInt color: Int, @FloatRange(from = 0.0 ) scaleFactor: Float, displayMetrics: DisplayMetrics): Bitmap
Creates a bitmap from text that the user typed and a font the user chose.