Allows you to customize the signatore pad by passing
into the constructor:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
width / height ¶
Sets the width- and height-dimensions of the signature pad.
Unfortunately we can not use
because this library requires static dimensions due to ration calculation. If we would allow dynamic sizing (for example
), depending on device type, resolution and orientation, this would stretch existing signatures in one or both dimensions and output would not match input.
Sets the color for new Strokes.
change any existing signatures, already stored in the database. Only new strokes will get that new color.
This function will be called after rendering of Signature Pad. Here you can conditionally lock the pad, for example.