PageCanvas

open class PageCanvas

Represents a canvas drawing to be merged onto another PDF page.

Constructors

Link copied to clipboard
constructor(@NonNull pageSize: Size, @NonNull callback: NewPage.OnDrawCanvasCallback)
PDF page created from a Canvas holding all the draw calls.
constructor(@NonNull pageSize: Size, @NonNull callback: NewPage.OnDrawCanvasCallback, @NonNull matrix: Matrix)
PDF page created from a Canvas holding all the draw calls.
constructor(@NonNull pageSize: Size, @NonNull callback: NewPage.OnDrawCanvasCallback, @NonNull position: PagePosition)
PDF page created from a Canvas holding all the draw calls.

Properties

Link copied to clipboard
The transformation matrix applied to the canvas content.
Link copied to clipboard
The alignment position of the canvas content on the target page.
Link copied to clipboard
The z-order determining whether content is rendered in foreground or background.