public class EditPolygonConfiguration
Class which is used to configure io.scanbot.ui.view.edit.EditPolygonActivity Contains settings indicating views Behaviour, Texts and Appearance
| Constructor and Description |
|---|
EditPolygonConfiguration()
Class which is used to configure io.scanbot.ui.view.edit.EditPolygonActivity
Contains settings indicating views Behaviour, Texts and Appearance
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.io.Serializable> |
getEditPolygonConfiguration() |
void |
setBackgroundColor(int color)
EditPolygon appearance param.
Color of the main screen background
|
void |
setBottomBarBackgroundColor(int color)
EditPolygon appearance param.
Background color of the bottom shutter-bar
|
void |
setBottomBarButtonsColor(int color)
EditPolygon appearance param.
Color of all text buttons in the bottom bar (Rotate button).
|
void |
setCancelButtonTitle(java.lang.String text)
EditPolygon text param.
Set text for cancel button
|
void |
setDoneButtonTitle(java.lang.String text)
EditPolygon text param.
Set text for done button
|
void |
setPage(io.scanbot.sdk.persistence.Page page)
EditPolygon behaviour param.
Set Page to be opened
|
void |
setPolygonColor(int color)
EditPolygon appearance param.
Default color of polygon lines.
|
void |
setPolygonColorMagnetic(int color)
EditPolygon appearance param.
Polygon color of magnetically snapped edges.
|
void |
setPolygonLineWidth(int color)
EditPolygon appearance param.
Width of the polygon lines
|
void |
setRotateButtonTitle(java.lang.String text)
EditPolygon text param.
Set text for Rotate button
|
void |
setTopBarBackgroundColor(int color)
EditPolygon appearance param.
Background color of the top toolbar.
|
void |
setTopBarButtonsColor(int color)
EditPolygon appearance param.
Color of all text buttons in the top bar (Cancel and Done buttons).
|
public EditPolygonConfiguration()
Class which is used to configure io.scanbot.ui.view.edit.EditPolygonActivity Contains settings indicating views Behaviour, Texts and Appearance
public java.util.Map<java.lang.String,java.io.Serializable> getEditPolygonConfiguration()
public void setPage(io.scanbot.sdk.persistence.Page page)
EditPolygon behaviour param. Set Page to be opened
public void setPolygonColor(int color)
EditPolygon appearance param. Default color of polygon lines.
public void setPolygonColorMagnetic(int color)
EditPolygon appearance param. Polygon color of magnetically snapped edges.
public void setPolygonLineWidth(int color)
EditPolygon appearance param. Width of the polygon lines
public void setTopBarBackgroundColor(int color)
EditPolygon appearance param. Background color of the top toolbar.
public void setTopBarButtonsColor(int color)
EditPolygon appearance param. Color of all text buttons in the top bar (Cancel and Done buttons).
public void setBottomBarBackgroundColor(int color)
EditPolygon appearance param. Background color of the bottom shutter-bar
public void setBottomBarButtonsColor(int color)
EditPolygon appearance param. Color of all text buttons in the bottom bar (Rotate button).
public void setBackgroundColor(int color)
EditPolygon appearance param. Color of the main screen background
public void setCancelButtonTitle(java.lang.String text)
EditPolygon text param. Set text for cancel button
public void setRotateButtonTitle(java.lang.String text)
EditPolygon text param. Set text for Rotate button
public void setDoneButtonTitle(java.lang.String text)
EditPolygon text param. Set text for done button