public final class EasyImageFactory extends Object
| 构造器和说明 |
|---|
EasyImageFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static EasyImage |
build(Image image,
int x,
int y,
int width,
int height,
int mode)
从图片对象构造元素
|
static EasyImage |
buildLocalImage(String url,
int x,
int y,
int mode)
从本地图片构造元素
|
static EasyImage |
buildLocalImage(String url,
int x,
int y,
int width,
int height,
int mode)
从本地图片构造元素
|
static EasyImage |
buildNetworkImage(String url,
int x,
int y)
从网络图片构造元素
|
static EasyImage |
buildNetworkImage(String url,
int x,
int y,
int width,
int height,
int mode)
从网络图片构造元素
|
public static EasyImage buildNetworkImage(String url, int x, int y) throws IOException
url - 图片urlx - 元素位置xy - 元素位置yIOException - IO异常public static EasyImage buildNetworkImage(String url, int x, int y, int width, int height, int mode) throws IOException
url - 图片urlx - 元素位置xy - 元素位置ywidth - 元素宽度height - 元素高度mode - 图片显示模式IOException - IO异常public static EasyImage buildLocalImage(String url, int x, int y, int mode) throws IOException
url - 本地路径x - 元素位置xy - 元素位置ymode - 图片显示模式IOException - IO异常public static EasyImage buildLocalImage(String url, int x, int y, int width, int height, int mode) throws IOException
url - 本地路径x - 元素位置xy - 元素位置ywidth - 元素宽度height - 元素高度mode - 图片显示模式IOException - IO异常Copyright © 2025 EFCloud. All rights reserved.