public class SignatureParameters extends Object
Constructor and Description |
---|
SignatureParameters()
Constructs a new SignatureParameters object
|
SignatureParameters(int aspectRatio,
int horizontalOffset,
int verticalOffset,
int width,
int height,
int resolution,
boolean binarized)
Constructs a new SignatureParameters object
All measurements are relative to the narrow bar width of the bar code.
|
Modifier and Type | Method and Description |
---|---|
int |
getAspectRatio()
The height of the bar code relative to narrow bar width.
|
int |
getHeight()
The height of the signature area.
|
int |
getHorizontalOffset()
The horizontal offset of the signature area.
|
int |
getResolution()
The number of pixels per unit in returned image.
|
int |
getVerticalOffset()
The vertical offset of the signature area.
|
int |
getWidth()
The width of the signature area.
|
boolean |
isBinarized()
Gets whether the image should be converted to white and black pixels.
|
void |
setAspectRatio(int aspectRatio)
Sets the height of the bar code relative to narrow bar width.
|
void |
setBinarized(boolean binarized)
Sets whether the image should be converted to white and black pixels.
|
void |
setHeight(int height)
Sets the height of the signature area.
|
void |
setHorizontalOffset(int horizontalOffset)
Sets the horizontal offset of the signature area.
|
void |
setResolution(int resolution)
Sets the number of pixels per unit in returned image.
|
void |
setVerticalOffset(int verticalOffset)
Sets the vertical offset of the signature area.
|
void |
setWidth(int width)
Sets the width of the signature area.
|
public SignatureParameters()
public SignatureParameters(int aspectRatio, int horizontalOffset, int verticalOffset, int width, int height, int resolution, boolean binarized)
aspectRatio
- the height of the bar code relative to narrow bar width.horizontalOffset
- the horizontal offset of the signature area.verticalOffset
- the vertical offset of the signature area.width
- the width of the signature areaheight
- the height of the signature arearesolution
- the number of pixels per unit in returned image.binarized
- if the image should be converted to white and black pixels.public int getAspectRatio()
public void setAspectRatio(int aspectRatio)
aspectRatio
- the height of the bar code relative to narrow bar width.public int getHorizontalOffset()
public void setHorizontalOffset(int horizontalOffset)
horizontalOffset
- the horizontal offset of the signature area.public int getVerticalOffset()
public void setVerticalOffset(int verticalOffset)
verticalOffset
- the horizontal offset of the signature area.public void setWidth(int width)
width
- the width of the signature area.public int getWidth()
public void setHeight(int height)
height
- the height of the signature area.public int getHeight()
public void setResolution(int resolution)
resolution
- the number of pixels per unit in returned image.public int getResolution()
public void setBinarized(boolean binarized)
binarized
- whether the image should be converted to white and black
pixels.public boolean isBinarized()
Copyright (c) 2015 Honeywell International Inc. All Rights Reserved.