Adding signature function in own app

Does anyone know if it is possible to integrate the iPhone signature function like in Preview into your own mac app? Has Apple created an API or kit here that one can use?

Adding signature function in own app
 
 
Q