This commit is contained in:
r-ca authored and r-ca committed 2023-12-24 15:07:02 +09:00
1 parent e19198446b
commit a0deb45fa0
1 file changed
+16
@@ -1,4 +1,20 @@
package one.nem.lacerta.processor; package one.nem.lacerta.processor;
import android.graphics.Bitmap;
public interface DocumentProcessor { public interface DocumentProcessor {
// ページ操作
void addNewPageToLast(Bitmap bitmap);
void addNewPageAfterIndex(Bitmap bitmap, int index);
void addNewPageBeforeIndex(Bitmap bitmap, int index);
void removePageAtIndex(int index);
// 更新
void updatePageAtIndex(Bitmap bitmap, int index);
// ページ取得
Bitmap getPageAtIndex(int index);
int getPageCount();
} }