ipraba / EPSignature

Signature component for iOS in Swift
MIT License
797 stars 206 forks source link

Getting the signature strokes without the extra whitespace? #30

Closed JinkProject closed 7 years ago

JinkProject commented 7 years ago

Currently there is a method that returns the bounds of the signature without the extra whitespace from the signature view. That is great, but why, then, did you not implement a method that would return the signature without the extra whitespace?

ipraba commented 7 years ago

Because i thought to give options to the users. People who need the signature image without extra whitespace can crop the UIImage by passing the bounding rect.

If you are interested can check this for cropping UIImage http://stackoverflow.com/questions/158914/cropping-an-uiimage

thanks