This class is used to collect and store events so that we can give an
entire signature at once without callers needing to implement an event
listener.
Methods
Marks a signature canceled and done.
cancel() : mixed
Captures a card swipe.
cardSwipe(\com\scriptel\CardSwipeswipe) : mixed
Arguments
swipe
\com\scriptel\CardSwipe
Response
mixed
Marks a signature complete.
endOfSignature() : mixed
This method gets the list of strokes
getStrokes() : mixed
Gets a card swipe if one was found.
getSwipe() : mixed
Gets whether or not this signature was canceled.
isCanceled() : bool
Gets whether or not this signature is complete (canceled or otherwise).
isDone() : bool
Adds a new stroke to the stack.
newStroke() : mixed
Gets a coordinate that will be added to the current stroke.
receiveCoordinate(\com\scriptel\Coordinatecoordinate) : mixed
Arguments
coordinate
\com\scriptel\Coordinate
Response
mixed
Properties
Contains a list of strokes
strokes :
Contains a list of coordinates.
stroke :
Whether or not this signature is complete (canceled or otherwise).
done : bool
Whether or not this signature was canceled.
canceled : bool
A card swipe, if one is detected.
swipe : \com\scriptel\CardSwipe