Interface IPolygonViewController

  • All Implemented Interfaces:

    
    public interface IPolygonViewController
    
                        

    Base interface to control the polygon view configuration inside the Classical component View

    • Constructor Detail

    • Method Detail

      • setPolygonStrokeColorOK

         abstract Unit setPolygonStrokeColorOK(Integer color)

        Changes stroke color of the polygon when result is OK.

        Parameters:
        color - color to draw lines with.
      • setPolygonStrokeWidth

         abstract Unit setPolygonStrokeWidth(Integer width)

        Changes width of the stroke of the polygon.

        Parameters:
        width - width of the stroke in pixels.
      • setPolygonCornerRadius

         abstract Unit setPolygonCornerRadius(Integer radius)

        Changes the radius of corners of the polygon

        Parameters:
        radius - radius of corners in pixels.
      • setPolygonFillColor

         abstract Unit setPolygonFillColor(Integer color)

        Changes fill color of the polygon

        Parameters:
        color - color to fill polygon with.
      • setPolygonFillColorOK

         abstract Unit setPolygonFillColorOK(Integer color)

        Changes fill color of the polygon when result is OK

        Parameters:
        color - color to fill polygon with.
      • setPolygonAutoSnapProgressEnabled

         abstract Unit setPolygonAutoSnapProgressEnabled(Boolean enabled)

        Changes if there is an animation should be played during the time when the user need to wait after the document was detected

        Parameters:
        enabled - if the animation is enabled
      • setPolygonDrawShadows

         abstract Unit setPolygonDrawShadows(Boolean enabled)

        Enable shadows under the polygon stroke if poly fill is transparent.

        Parameters:
        enabled - enable shadow if true, disable otherwise