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
getColor()Returns the color for filled elements.
setColor(XpsColor value)Sets the color for filled elements.
deepClone()Clones this solid color brush.

getColor()

public XpsColor getColor()

Returns the color for filled elements.

Returns: XpsColor - The color for filled elements.

setColor(XpsColor value)

public void setColor(XpsColor value)

Sets the color for filled elements.

Parameters:

ParameterTypeDescription
valueXpsColorThe color for filled elements.

deepClone()

public XpsSolidColorBrush deepClone()

Clones this solid color brush.

Returns: XpsSolidColorBrush - Clone of this solid color brush.