HatchPaintLibrary

Inheritance: java.lang.Object

public class HatchPaintLibrary

将 GDI+ 交叉刷转换为适用于写入 XPS 和 PDF 的图像。

字段

字段描述
HatchSize

方法

方法描述
equals(Object arg0)
getClass()
getHatchTexturePaint(HatchStyle style, Color foreColor, Color backColor)返回创建的 TexturePaint,它封装了符合交叉线样式的交叉线图案。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

HatchSize

public static final int HatchSize

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.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:

参数类型描述
styleHatchStyle交叉线样式。
foreColorjava.awt.Color前景色。
backColorjava.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:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int