public class PolygonView implements ContourDetectorFrameHandler.ResultHandler
Draws polygon
| Constructor and Description |
|---|
PolygonView() |
PolygonView() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchDraw() |
boolean |
handleResult() |
void |
onSizeChanged() |
void |
setFillColor()
Changes fill color of the polygon
|
void |
setFillColorOK()
Changes fill color of the polygon when result is OK
|
void |
setStrokeColor()
Changes stroke color of the polygon.
|
void |
setStrokeColorOK()
Changes stroke color of the polygon when result is OK.
|
void |
setStrokeWidth()
Changes width of the stroke of the polygon.
|
handleResultpublic void setFillColor()
Changes fill color of the polygon
public void setFillColorOK()
Changes fill color of the polygon when result is OK
public void setStrokeColor()
Changes stroke color of the polygon.
public void setStrokeColorOK()
Changes stroke color of the polygon when result is OK.
public void setStrokeWidth()
Changes width of the stroke of the polygon.
public void onSizeChanged()
public boolean handleResult()
public void dispatchDraw()