onbon.bx06.file.nd
Class TextCaptionBxAreaND

java.lang.Object
  extended by onbon.bx06.file.nd.BxAreaND
      extended by onbon.bx06.file.nd.TextCaptionBxAreaND

public final class TextCaptionBxAreaND
extends BxAreaND

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

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

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

Constructor Detail

TextCaptionBxAreaND

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

Parameters:
area - 區域。
screenProfile - 屏幕规格。
Method Detail

getTransparency

public int getTransparency()
取得透明度。

Returns:
透明度。

setTransparency

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

Parameters:
transparency - 透明度。

overlayWithBackground

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


maskByBackground

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


getPages

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

Returns:
图文区页面。

generate

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

Specified by:
generate in class BxAreaND
Parameters:
screenProfile - 屏幕规格。
Returns:
区域位元组资讯。
Throws:
Bx6GException - 产生区域位元组资讯时发生错误。


Copyright © 2020 onbon. All rights reserved.