onbon.bx06.file.nd
类 TextCaptionBxAreaND

java.lang.Object
  继承者 onbon.bx06.file.nd.BxAreaND
      继承者 onbon.bx06.file.nd.TextCaptionBxAreaND

public final class TextCaptionBxAreaND
extends BxAreaND

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

作者:
ONBON
另请参见:
图片页面, 文字档页面

构造方法摘要
TextCaptionBxAreaND(onbon.bx06.message.area.TextCaptionArea area, Bx6GScreenProfile screenProfile)
          建构子。
 
方法摘要
 byte[] generate(Bx6GScreenProfile screenProfile)
          产生区域的位元组资讯。
 List<BxPageND> getPages()
          取得图文区页面。
 int getTransparency()
          取得透明度。
 void maskByBackground()
          显示被背景遮罩的部分。
 void overlayWithBackground()
          与背景重叠显示。
 void setTransparency(int transparency)
          设定透明度。
 
从类 onbon.bx06.file.nd.BxAreaND 继承的方法
getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getScreenProfile, setAreaFrame, setFrameMoveStep, setFrameSpeed, setFrameStyle, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

TextCaptionBxAreaND

public TextCaptionBxAreaND(onbon.bx06.message.area.TextCaptionArea area,
                           Bx6GScreenProfile screenProfile)
建构子。

参数:
area - 區域。
screenProfile - 屏幕规格。
方法详细信息

getTransparency

public int getTransparency()
取得透明度。

返回:
透明度。

setTransparency

public void setTransparency(int transparency)
设定透明度。
1. 当该值大于等于 0(不透明) 小于等于100(全透明) 时,以该背景区域为基准。

参数:
transparency - 透明度。

overlayWithBackground

public void overlayWithBackground()
与背景重叠显示。


maskByBackground

public void maskByBackground()
显示被背景遮罩的部分。


getPages

public List<BxPageND> getPages()
取得图文区页面。

返回:
图文区页面。

generate

public byte[] generate(Bx6GScreenProfile screenProfile)
                throws Bx6GException
从类 BxAreaND 复制的描述
产生区域的位元组资讯。

指定者:
类 BxAreaND 中的 generate
参数:
screenProfile - 屏幕规格。
返回:
区域位元组资讯。
抛出:
Bx6GException - 产生区域位元组资讯时发生错误。


Copyright © 2018 onbon. All rights reserved.