public interface Signature
Modifier and Type | Method and Description |
---|---|
void |
clearSignatureWindow(integer i)
Erase data outside the signature window.
|
void |
clearTablet()
Clear the signature tablet.
|
memptr |
getSignatureImage(character imgFormat,
character pixelFormat)
Get the signature image.
|
void |
keypadAddHotSpot(integer hotspotId,
integer coordinateMode,
integer x,
integer y,
integer width,
integer height)
Set the keypad hotspot location.
|
void |
keypadClearHotSpotList()
Clear the hotspot points.
|
integer |
keypadQueryHotSpot(integer i)
Check if the OK hotspot is tapped.
|
void |
lcdRefresh(integer clear,
integer x,
integer y,
integer width,
integer height)
Refresh the tablet LCD.
|
void |
lcdSetWindow(integer x,
integer y,
integer width,
integer height)
Set the LCD window coordinates.
|
void |
lcdWriteString(integer mode,
integer writeMode,
integer x,
integer y,
character font,
character text)
Write a string to the LCD window.
|
integer |
numberOfTabletPoints()
Get the number of table points.
|
void |
setImageFileFormat(integer i)
Set the image file format.
|
void |
setImagePenWidth(integer pixels)
Set the pen width for the saved image.
|
void |
setImageXSize(integer width)
Set the image width.
|
void |
setImageYSize(integer height)
Set the image height.
|
void |
setJustifyMode(integer mode)
Set the justify mode.
|
void |
setJustifyX(integer pixels)
Set the horizontal justify.
|
void |
setJustifyY(integer pixels)
Set the vertical justify.
|
void |
setLCDCaptureMode(integer mode)
Set the LCD capture mode.
|
void |
setSignatureWindow(integer mode,
integer x,
integer y,
integer width,
integer height)
Set the coordinates for the signature window.
|
void |
setTabletState(integer state)
Set the tablet state.
|
void |
setTranslateBitmapEnable(logical enable)
Enable the bitmap translation.
|
character |
tabletModelNumber()
Get the table model number.
|
void clearTablet()
integer numberOfTabletPoints()
void lcdRefresh(integer clear, integer x, integer y, integer width, integer height)
clear
- Flag indicating the clear mode.x
- The x coordinate.y
- The y coordinate.width
- The width of the rectangle to clear.height
- The height of the rectangle to clear.void lcdWriteString(integer mode, integer writeMode, integer x, integer y, character font, character text)
mode
- The location (0 for foreground).writeMode
- The write mode (2 for overwrite).x
- The x coordinate.y
- The y coordinate.font
- The font to use.text
- The text to write.void keypadAddHotSpot(integer hotspotId, integer coordinateMode, integer x, integer y, integer width, integer height)
hotspotId
- The hotspot IDcoordinateMode
- The coordinate mode (1 for LCD coordinates).x
- The x coordinate.y
- The y coordinate.width
- The width.height
- The height.void lcdSetWindow(integer x, integer y, integer width, integer height)
x
- The x coordinate.y
- The y coordinate.width
- The window width.height
- The window height.void setSignatureWindow(integer mode, integer x, integer y, integer width, integer height)
mode
- 1
for LCD coordinates.x
- The x coordinate.y
- The y coordinate.width
- The window width.height
- The window height.void setLCDCaptureMode(integer mode)
mode
- The capture mode.void setTabletState(integer state)
state
- 1
to turn on for signature collection.character tabletModelNumber()
void setTranslateBitmapEnable(logical enable)
enable
- true
to enable translation.void setImageFileFormat(integer i)
i
- The image format (2 for BMP monochrome).void setImageXSize(integer width)
width
- The image width.void setImageYSize(integer height)
height
- The image height.void setImagePenWidth(integer pixels)
pixels
- The number of pixels.void setJustifyMode(integer mode)
mode
- The justify mode (5 for central).void setJustifyX(integer pixels)
pixels
- The number of pixels.void setJustifyY(integer pixels)
pixels
- The number of pixels.memptr getSignatureImage(character imgFormat, character pixelFormat)
imgFormat
- The image format (BMP, JPEG, etc).pixelFormat
- The pixel format (i.e. Format1bppIndexed).integer keypadQueryHotSpot(integer i)
i
- Hotspot ID.void clearSignatureWindow(integer i)
i
- Clear mode.void keypadClearHotSpotList()