XpsRadialGradientBrush

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

public final class XpsRadialGradientBrush extends XpsGradientBrush

Class incapsulating RadialGradientBrush property element features. This element is used to specify a radial gradient brush.

Methods

MethodDescription
deepClone()Clones this radial gradient brush.
equals(Object arg0)
getCenter()Returns the center point of the radial gradient (that is, the center of the ellipse).
getClass()
getColorInterpolationMode()Returns value specifying the gamma function for color interpolation.
getGradientOrigin()Returns the origin point of the radial gradient.
getGradientStops()Returns list of gradient stops that comprise the gradient.
getOpacity()Returns value defining the uniform transparency of the brush fill.
getRadiusX()Returns the radius in the x dimension of the ellipse which defines the radial gradient.
getRadiusY()Returns the radius in the y dimension of the ellipse which defines the radial gradient.
getSpreadMethod()Returns value describing how the brush should fill the content area outside of the primary, initial gradient area.
getTransform()Returns the matrix transformation applied to the coordinate space of the brush.
hashCode()
notify()
notifyAll()
setCenter(Point2D value)Sets the center point of the radial gradient (that is, the center of the ellipse).
setColorInterpolationMode(XpsColorInterpolationMode value)Sets value specifying the gamma function for color interpolation.
setGradientOrigin(Point2D value)Sets the origin point of the radial gradient.
setGradientStops(List value)Sets list of gradient stops that comprise the gradient.
setOpacity(float value)Sets value defining the uniform transparency of the brush fill.
setRadiusX(float value)Sets the radius in the x dimension of the ellipse which defines the radial gradient.
setRadiusY(float value)Sets the radius in the y dimension of the ellipse which defines the radial gradient.
setSpreadMethod(XpsSpreadMethod value)Sets value describing how the brush should fill the content area outside of the primary, initial gradient area.
setTransform(XpsMatrix value)Sets the matrix transformation applied to the coordinate space of the brush.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsRadialGradientBrush deepClone()

Clones this radial gradient brush.

Returns: XpsRadialGradientBrush - Clone of this radial gradient brush.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCenter()

public Point2D getCenter()

Returns the center point of the radial gradient (that is, the center of the ellipse).

Returns: java.awt.geom.Point2D - The center point of the radial gradient.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorInterpolationMode()

public XpsColorInterpolationMode getColorInterpolationMode()

Returns value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.

Returns: XpsColorInterpolationMode - Value specifying the gamma function for color interpolation.

getGradientOrigin()

public Point2D getGradientOrigin()

Returns the origin point of the radial gradient.

Returns: java.awt.geom.Point2D - The origin point of the radial gradient.

getGradientStops()

public List<XpsGradientStop> getGradientStops()

Returns list of gradient stops that comprise the gradient.

Returns: java.util.List<com.aspose.xps.XpsGradientStop> - List of gradient stops that comprise the gradient.

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.

getRadiusX()

public float getRadiusX()

Returns the radius in the x dimension of the ellipse which defines the radial gradient.

Returns: float - The radius in the x dimension of the ellipse which defines the radial gradient.

getRadiusY()

public float getRadiusY()

Returns the radius in the y dimension of the ellipse which defines the radial gradient.

Returns: float - The radius in the y dimension of the ellipse which defines the radial gradient.

getSpreadMethod()

public XpsSpreadMethod getSpreadMethod()

Returns value describing how the brush should fill the content area outside of the primary, initial gradient area.

Returns: XpsSpreadMethod - Value describing how the brush should fill the content area outside of the primary, initial gradient area.

getTransform()

public XpsMatrix getTransform()

Returns the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.

Returns: XpsMatrix - The matrix transformation applied to the coordinate space of the brush.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCenter(Point2D value)

public void setCenter(Point2D value)

Sets the center point of the radial gradient (that is, the center of the ellipse).

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2DThe center point of the radial gradient.

setColorInterpolationMode(XpsColorInterpolationMode value)

public void setColorInterpolationMode(XpsColorInterpolationMode value)

Sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.

Parameters:

ParameterTypeDescription
valueXpsColorInterpolationModeValue specifying the gamma function for color interpolation.

setGradientOrigin(Point2D value)

public void setGradientOrigin(Point2D value)

Sets the origin point of the radial gradient.

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2DThe origin point of the radial gradient.

setGradientStops(List value)

public void setGradientStops(List<XpsGradientStop> value)

Sets list of gradient stops that comprise the gradient.

Parameters:

ParameterTypeDescription
valuejava.util.List<com.aspose.xps.XpsGradientStop>List of gradient stops that comprise the gradient.

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.

setRadiusX(float value)

public void setRadiusX(float value)

Sets the radius in the x dimension of the ellipse which defines the radial gradient.

Parameters:

ParameterTypeDescription
valuefloatThe radius in the x dimension of the ellipse which defines the radial gradient.

setRadiusY(float value)

public void setRadiusY(float value)

Sets the radius in the y dimension of the ellipse which defines the radial gradient.

Parameters:

ParameterTypeDescription
valuefloatThe radius in the y dimension of the ellipse which defines the radial gradient.

setSpreadMethod(XpsSpreadMethod value)

public void setSpreadMethod(XpsSpreadMethod value)

Sets value describing how the brush should fill the content area outside of the primary, initial gradient area.

Parameters:

ParameterTypeDescription
valueXpsSpreadMethodValue describing how the brush should fill the content area outside of the primary, initial gradient area.

setTransform(XpsMatrix value)

public void setTransform(XpsMatrix value)

Sets the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.

Parameters:

ParameterTypeDescription
valueXpsMatrixThe matrix transformation applied to the coordinate space of the brush.

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