XpsSolidColorBrush

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

public final class XpsSolidColorBrush extends XpsBrush

Class incapsulating SolidColorBrush property element features. This element is used to fill defined geometric regions with a solid color.

Methods

MethodDescription
deepClone()Clones this solid color brush.
equals(Object arg0)
getClass()
getColor()Returns the color for filled elements.
getOpacity()Returns value defining the uniform transparency of the brush fill.
hashCode()
notify()
notifyAll()
setColor(XpsColor value)Sets the color for filled elements.
setOpacity(float value)Sets value defining the uniform transparency of the brush fill.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsSolidColorBrush deepClone()

Clones this solid color brush.

Returns: XpsSolidColorBrush - Clone of this solid color brush.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public XpsColor getColor()

Returns the color for filled elements.

Returns: XpsColor - The color for filled elements.

getOpacity()

public float getOpacity()

Returns value defining the uniform transparency of the brush fill.

Returns: float - Value defining the uniform transparency of the brush fill.

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)

Sets the color for filled elements.

Parameters:

ParameterTypeDescription
valueXpsColorThe color for filled elements.

setOpacity(float value)

public void setOpacity(float value)

Sets value defining the uniform transparency of the brush fill.

Parameters:

ParameterTypeDescription
valuefloatValue defining the uniform transparency of the brush fill.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int