From 78da147d426c80baac63aeaf521f112d8c4c1d2d Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Wed, 30 Oct 2013 20:52:04 -0700 Subject: [PATCH] Update the PdfDocument docs with unsupported operations. The PDF generating canvas we use does not yet support all drawing operations. This change adds docs which operations are not yet supported. Change-Id: I8d5ee8c1e2a473ba783b5e62f23ab90a54bbf106 (cherry picked from commit 8db45b844b5482cf61839404c0f6847e053de817) --- .../android/graphics/pdf/PdfDocument.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/graphics/java/android/graphics/pdf/PdfDocument.java b/graphics/java/android/graphics/pdf/PdfDocument.java index 066ae2b12c155..81e523d734c4e 100644 --- a/graphics/java/android/graphics/pdf/PdfDocument.java +++ b/graphics/java/android/graphics/pdf/PdfDocument.java @@ -391,6 +391,31 @@ public class PdfDocument { /** * Gets the {@link Canvas} of the page. * + *

+ * Note: There are some draw operations that are + * not yet supported by the canvas returned by this method. More + * specifically: + *

+ * * @return The canvas if the page is not finished, null otherwise. * * @see PdfDocument#finishPage(Page)