Class coresignature

This class is used to hold the signature request object which is send to a server.More…

#import <Core.h>

Inheritance diagram for CoreSignature:

Instance Methods

(void) - clearSignature
Clears the signature.More…
(void) - startTouch:andY:
Touch has started.The initial starting location stored in the x,y values.More…
(void) - moveTouch:andY:
Change has happened.The location stored in the x,y values.More…
(void) - upTouch
Touch has finished.The final release location stored in the x,y values.More…
(bool) - isReady
Check if the signature is ready to be sent.More…
(bool) - checkSignature
Check if the signature is empty or not.More…
(void) - signatureText

Detailed Description

This class is used to hold the signature request object which is send to a server.

Method Documentation

checkSignature()

  • - (bool) checkSignature

Check if the signature is empty or not.

if([signature checkSignature] == true){ return true;
}else{ return false;
} 

clearSignature()

  • - (void) clearSignature

Clears the signature.

[signature clearSignature];

isReady()

  • - (bool) isReady

Check if the signature is ready to be sent.

[signature isReady];

moveTouch:andY:()

  • - (void) moveTouch:
  • (float)
  • x

  • andY:
  • (float)
  • y

Change has happened.The location stored in the x,y values.

Parameters

  • x
  • coordinate point

  • y
  • coordinate point

[signature moveTouch:p.x andY:p.y];

signatureText()

  • - (void) signatureText

startTouch:andY:()

  • - (void) startTouch:
  • (float)
  • x

  • andY:
  • (float)
  • y

Touch has started.The initial starting location stored in the x,y values.

Parameters

  • x
  • coordinate point

  • y
  • coordinate point

[signature startTouch:p.x andY:p.y];

upTouch()

  • - (void) upTouch

Touch has finished.The final release location stored in the x,y values.

[signature upTouch:0 andY:0];