HatchPaintLibrary
内容
[
隐藏
]Inheritance: java.lang.Object
public class HatchPaintLibrary
将 GDI+ 交叉刷转换为适用于写入 XPS 和 PDF 的图像。
字段
| 字段 | 描述 |
|---|---|
| HatchSize |
方法
HatchSize
public static final int HatchSize
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHatchTexturePaint(HatchStyle style, Color foreColor, Color backColor)
public static TexturePaint getHatchTexturePaint(HatchStyle style, Color foreColor, Color backColor)
返回创建的 TexturePaint,它封装了符合交叉线样式的交叉线图案。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| style | HatchStyle | 交叉线样式。 |
| foreColor | java.awt.Color | 前景色。 |
| backColor | java.awt.Color | 背景色。 |
Returns: java.awt.TexturePaint - 返回交叉线纹理图案
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |