Package 

Interface OnDrawListener


  • 
    public interface OnDrawListener
    
                        

    This interface allows an extern class to draw something on the PDFView canvas, above all images.

    • Method Summary

      Modifier and Type Method Description
      abstract void onLayerDrawn(Canvas canvas, float pageWidth, float pageHeight, int displayedPage) This method is called when the PDFView isdrawing its view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onLayerDrawn

         abstract void onLayerDrawn(Canvas canvas, float pageWidth, float pageHeight, int displayedPage)

        This method is called when the PDFView isdrawing its view.

        The page is starting at (0,0)

        Parameters:
        canvas - The canvas on which to draw things.
        pageWidth - The width of the current page.
        pageHeight - The height of the current page.
        displayedPage - The current page index