XpsSolidColorBrush

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush

public final class XpsSolidColorBrush extends XpsBrush

封装 SolidColorBrush 属性元素特性的类。此元素用于使用纯色填充定义的几何区域。

方法

方法描述
deepClone()克隆此纯色画刷。
equals(Object arg0)
getClass()
getColor()返回填充元素的颜色。
getOpacity()返回定义画刷填充统一透明度的值。
hashCode()
notify()
notifyAll()
setColor(XpsColor value)设置填充元素的颜色。
setOpacity(float value)设置定义画刷填充统一透明度的值。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsSolidColorBrush deepClone()

克隆此纯色画刷。

Returns: XpsSolidColorBrush - Clone of this solid color brush.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public XpsColor getColor()

返回填充元素的颜色。

Returns: XpsColor - The color for filled elements.

getOpacity()

public float getOpacity()

返回定义画刷填充统一透明度的值。

Returns: float - 定义画刷填充统一透明度的值。

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setColor(XpsColor value)

public void setColor(XpsColor value)

设置填充元素的颜色。

Parameters:

参数类型描述
valueXpsColor填充元素的颜色。

setOpacity(float value)

public void setOpacity(float value)

设置定义画刷填充统一透明度的值。

Parameters:

参数类型描述
float定义画刷填充统一透明度的值。

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