Watermark
内容
[
隐藏
]遗产: java.lang.Object
public class Watermark
表示页面的水印。
构造函数
| 构造函数 | 描述 |
|---|---|
| Watermark(BufferedImage nativeImage, Rectangle rect) | 使用图像及其在页面上的位置初始化水印对象。 |
| Watermark(BufferedImage nativeImage) | 使用图像初始化水印结构。 |
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getAvailable() | 获取存在水印的标志。 |
| getClass() | |
| getImage() | 获取水印图像。 |
| getPosition() | 获取页面上水印图像的位置。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Watermark(BufferedImage nativeImage, Rectangle rect)
public Watermark(BufferedImage nativeImage, Rectangle rect)
使用图像及其在页面上的位置初始化水印对象。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| nativeImage | java.awt.image.BufferedImage | 图像 水印图像。 |
| rect | Rectangle | 水印在页面上的位置。 |
Watermark(BufferedImage nativeImage)
public Watermark(BufferedImage nativeImage)
使用图像初始化水印结构。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| nativeImage | java.awt.image.BufferedImage | 图像 水印图像。 |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
getAvailable()
public boolean getAvailable()
获取存在水印的标志。
退货: boolean - 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getImage()
public BufferedImage getImage()
获取水印图像。
退货: java.awt.image.BufferedImage - BufferedImage 对象
getPosition()
public Rectangle getPosition()
获取页面上水印图像的位置。
退货: Rectangle - 矩形对象
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |