TextureDetectionResultUnit
The TextureDetectionResultUnit class represents an intermediate result unit for texture detection. It is derived from the IntermediateResultUnit class and contains the x-direction spacing and y-direction spacing of the texture stripes.
Definition
Namespace: com.dynamsoft.core.intermediate_results
public class TextureDetectionResultUnit extends IntermediateResultUnit
Methods
| Method | Description |
|---|---|
getXSpacing |
Gets x-direction spacing of the texture stripes. |
getYSpacing |
Gets y-direction spacing of the texture stripes. |
setXSpacing |
Sets x-direction spacing of the texture stripes. |
setYSpacing |
Sets y-direction spacing of the texture stripes. |
getXSpacing
Gets x-direction spacing of the texture stripes.
int getXSpacing()
Return value
Returns the x-direction spacing of the texture stripes.
getYSpacing
Gets y-direction spacing of the texture stripes.
int getYSpacing()
Return value
Returns the y-direction spacing of the texture stripes.
setXSpacing
Sets the x-direction spacing of the texture stripes.
void setXSpacing(int xSpacing)
Parameters
xSpacing The x-direction spacing of the texture stripes.
setYSpacing
Sets the y-direction spacing of the texture stripes.
void setYSpacing(int ySpacing)
Parameters
ySpacing The y-direction spacing of the texture stripes.