From 8db45b844b5482cf61839404c0f6847e053de817 Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Wed, 30 Oct 2013 20:52:04 -0700 Subject: 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 --- .../java/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 066ae2b12c15..81e523d734c4 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) -- cgit v1.2.3-59-g8ed1b