Begin a new page for the document, returning the canvas for that page. The canvas is owned by the document, and must not be used after endPage() or close() is called. @param width width of the page @param height height of the page @return Canvas for the page
(float width, float height)
| 53 | * @return Canvas for the page |
| 54 | */ |
| 55 | public Canvas beginPage(float width, float height) { |
| 56 | Stats.onNativeCall(); |
| 57 | return new Canvas(_nBeginPage(_ptr, width, height), false, this); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * <p>Call endPage() when the content for the current page has been drawn |