public static final class PdfDocument.Page extends Object
getCanvas()
. It also has associated a
PdfDocument.PageInfo
instance that describes its attributes. Also
a page hasModifier and Type | Method and Description |
---|---|
Canvas |
getCanvas()
Gets the
Canvas of the page. |
PdfDocument.PageInfo |
getInfo()
Gets the
PdfDocument.PageInfo with meta-data for the page. |
public Canvas getCanvas()
Canvas
of the page.
Note: There are some draw operations that are not yet supported by the canvas returned by this method. More specifically:
Canvas.clipPath(android.graphics.Path,
android.graphics.Region.Op)
for Region.Op#REVERSE_DIFFERENCE
operations.Canvas.drawVertices(
android.graphics.Canvas.VertexMode, int, float[], int, float[],
int, int[], int, short[], int, int, android.graphics.Paint)
Paint.setColorFilter(
android.graphics.ColorFilter)
Paint.setMaskFilter(
android.graphics.MaskFilter)
PorterDuff.Mode SRC
,
PorterDuff.DST_ATOP
,
PorterDuff.XOR
,
PorterDuff.ADD
PdfDocument.finishPage(Page)
public PdfDocument.PageInfo getInfo()
PdfDocument.PageInfo
with meta-data for the page.PdfDocument.finishPage(Page)