com.foxconn.ebook.reader.engine.util.render
类 BaseRender

java.lang.Object
  继承者 com.foxconn.ebook.reader.engine.util.render.BaseRender
直接已知子类:
Render2

public abstract class BaseRender
extends java.lang.Object

顯示圖像的基類.


构造函数摘要
BaseRender()
           
 
方法摘要
abstract  void free()
          釋放資源.
abstract  Bitmap.Config getBitmapConfig()
          返回Bitmap的配置類型.
abstract  void init()
          初始化渲染引擎.
 void showContent(Book book)
          顯示圖像內容.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造函数详细信息

BaseRender

public BaseRender()
方法详细信息

init

public abstract void init()
初始化渲染引擎.


free

public abstract void free()
釋放資源.


getBitmapConfig

public abstract Bitmap.Config getBitmapConfig()
返回Bitmap的配置類型.

返回:
Bitmap的配置類型,如RGB_565、ARGB_4444、ARGB_8888,引擎將根據該配置生成相應的Bitmap.

showContent

public void showContent(Book book)
顯示圖像內容.

参数:
book - Book對象
另请参见:
Book