Professional Documents
Culture Documents
UI5 Signatures
UI5 Signatures
on the screen. I couldn’t find any control in UI5 library for this, so created a signature
control.
Sample: https://ui5lab.io/browser/index.html#/Samples/ui5.sign/Sample/ui5.sign.Signature.
Signature
UI5 Signature control internally uses d3 library so that it can provide smooth curvature to
the mouse pointers.
With this control there is an option to change background color, pen color, pen size and
disable the control for user input.
Convenience methods getSVGString can be used to retrieve the generated SVG path
based on user input and setSVGString is helpful in setting the SVG string onto the screen.
https://blogs.sap.com/2018/04/06/consume-libraries-from-ui5lab/
or
https://ui5lab.io/docs/#/how_to/consume_library