onbon.bx06.res
Class Resources

java.lang.Object
  extended by onbon.bx06.res.Resources

public class Resources
extends Object

资源工具。

Author:
ONBON

Method Summary
static BufferedImage clockImage(int styleIndex)
           
static BufferedImage getStyle1Image(int styleIndex)
          取得单基色内建边框资源。
static BufferedImage getStyle2Image(int styleIndex)
          取得双基色内建边框资源。
static BufferedImage getStyle3Image(int styleIndex)
          取得全彩内建边框资源。
static BufferedImage getStyleFullImage(int styleIndex)
          取得全彩内建边框资源。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clockImage

public static BufferedImage clockImage(int styleIndex)
                                throws IOException
Throws:
IOException

getStyle1Image

public static BufferedImage getStyle1Image(int styleIndex)
                                    throws IOException
取得单基色内建边框资源。

Parameters:
styleIndex - 内建效果编号,1 ~ 14。
Returns:
资源档案。
Throws:
IOException - 發生錯誤。

getStyle2Image

public static BufferedImage getStyle2Image(int styleIndex)
                                    throws IOException
取得双基色内建边框资源。

Parameters:
styleIndex - 内建效果编号,1 ~ 18。
Returns:
资源图案。
Throws:
IOException - 發生錯誤。

getStyle3Image

public static BufferedImage getStyle3Image(int styleIndex)
                                    throws IOException
取得全彩内建边框资源。

Parameters:
styleIndex - 内建效果编号,1 ~ 17。
Returns:
资源图案。
Throws:
IOException - 發生錯誤。

getStyleFullImage

public static BufferedImage getStyleFullImage(int styleIndex)
                                       throws IOException
取得全彩内建边框资源。

Parameters:
styleIndex - 内建效果编号,1 ~ 17。
Returns:
资源图案。
Throws:
IOException - 發生錯誤。


Copyright © 2020 onbon. All rights reserved.