summaryrefslogtreecommitdiff
path: root/platform/java/com/artifex/mupdf/fitz/Annotation.java
blob: 855ff5a1e07f96253e9887954b51082f83c89c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.artifex.mupdf.fitz;

public class Annotation
{
	private long pointer;

	protected native void finalize();

	public void destroy() {
		finalize();
		pointer = 0;
	}

	private Annotation(long p) {
		pointer = p;
	}

	public native void run(Device dev, Matrix ctm, Cookie cookie);
	public native Pixmap toPixmap(Matrix ctm, ColorSpace colorspace, boolean alpha);
	public native Rect getBounds();
	public native DisplayList toDisplayList();

	private native long advance();
}