onbon.bx06.area
Class GradientBackgroundBxArea

java.lang.Object
  extended by onbon.bx06.area.BxArea
      extended by onbon.bx06.area.AbstractTextCaptionBxArea
          extended by onbon.bx06.area.GradientBackgroundBxArea

public final class GradientBackgroundBxArea
extends AbstractTextCaptionBxArea

图文区域,由多个页面堆叠而成。

Author:
ONBON
See Also:
图片页面, 文字档页面

Field Summary
 
Fields inherited from class onbon.bx06.area.AbstractTextCaptionBxArea
pages
 
Constructor Summary
GradientBackgroundBxArea(onbon.bx06.message.file.AreaInfo ai, Bx6GScreenProfile screenProfile)
           
GradientBackgroundBxArea(int x, int y, int width, int height, Bx6GScreenProfile screenProfile)
          建构子。
 
Method Summary
 byte[] generate(ProgramDataBxFile dataFile)
          产生区域的位元组资讯。
 
Methods inherited from class onbon.bx06.area.AbstractTextCaptionBxArea
addImageFile, addPage, addText, addTextFile, clearPages, preview
 
Methods inherited from class onbon.bx06.area.BxArea
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GradientBackgroundBxArea

public GradientBackgroundBxArea(int x,
                                int y,
                                int width,
                                int height,
                                Bx6GScreenProfile screenProfile)
建构子。

Parameters:
x - X 座标。
y - Y 座标。
width - 区域宽度。
height - 区域高度。
screenProfile - 屏幕规格。

GradientBackgroundBxArea

public GradientBackgroundBxArea(onbon.bx06.message.file.AreaInfo ai,
                                Bx6GScreenProfile screenProfile)
Method Detail

generate

public byte[] generate(ProgramDataBxFile dataFile)
                throws Bx6GException
Description copied from class: BxArea
产生区域的位元组资讯。

Specified by:
generate in class BxArea
Parameters:
dataFile - 资料。
Returns:
区域位元组资讯。
Throws:
Bx6GException - 产生区域位元组资讯时发生错误。


Copyright © 2020 onbon. All rights reserved.