public class RadialGradientBrush extends Object
The radial gradient brush.
| Constructor and Description |
|---|
RadialGradientBrush()
Initializes a new instance of the
RadialGradientBrush class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCenter()
Gets or sets the center.
|
String |
getColorInterpolationMode()
Gets or sets the color interpolation mode.
|
String |
getGradientOrigin()
Gets or sets the gradient origin.
|
String |
getMappingMode()
Gets or sets the mapping mode.
|
double |
getOpacity()
Gets or sets the opacity.
|
GradientStop[] |
getRadialGradientBrushGradientStops()
Gets or sets the radial gradient brush gradient stops.
|
Transform |
getRadialGradientBrushTransform()
Gets or sets the radial gradient brush transform.
|
double |
getRadiusX()
Gets or sets the radius x.
|
double |
getRadiusY()
Gets or sets the radius y.
|
String |
getSpreadMethod()
Gets or sets the spread method.
|
String |
getTransform()
Gets or sets the transform.
|
void |
setCenter(String value)
Gets or sets the center.
|
void |
setColorInterpolationMode(String value)
Gets or sets the color interpolation mode.
|
void |
setGradientOrigin(String value)
Gets or sets the gradient origin.
|
void |
setMappingMode(String value)
Gets or sets the mapping mode.
|
void |
setOpacity(double value)
Gets or sets the opacity.
|
void |
setRadialGradientBrushGradientStops(GradientStop[] value)
Gets or sets the radial gradient brush gradient stops.
|
void |
setRadialGradientBrushTransform(Transform value)
Gets or sets the radial gradient brush transform.
|
void |
setRadiusX(double value)
Gets or sets the radius x.
|
void |
setRadiusY(double value)
Gets or sets the radius y.
|
void |
setSpreadMethod(String value)
Gets or sets the spread method.
|
void |
setTransform(String value)
Gets or sets the transform.
|
public RadialGradientBrush()
Initializes a new instance of the RadialGradientBrush class.
public final Transform getRadialGradientBrushTransform()
Gets or sets the radial gradient brush transform. Describes 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 center, gradient origin, x radius, and y radius are transformed using the local effective render transform.
public final void setRadialGradientBrushTransform(Transform value)
Gets or sets the radial gradient brush transform. Describes 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 center, gradient origin, x radius, and y radius are transformed using the local effective render transform.
public final GradientStop[] getRadialGradientBrushGradientStops()
Gets or sets the radial gradient brush gradient stops. Holds a sequence of GradientStop elements.
public final void setRadialGradientBrushGradientStops(GradientStop[] value)
Gets or sets the radial gradient brush gradient stops. Holds a sequence of GradientStop elements.
public final double getOpacity()
Gets or sets the opacity. Defines the uniform transparency of the radial gradient. Values range from 0 (fully transparent) to 1 (fully opaque), inclusive. Values outside of this range are invalid.
public final void setOpacity(double value)
Gets or sets the opacity. Defines the uniform transparency of the radial gradient. Values range from 0 (fully transparent) to 1 (fully opaque), inclusive. Values outside of this range are invalid.
public final String getColorInterpolationMode()
Gets or sets the color interpolation mode. Specifies the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
public final void setColorInterpolationMode(String value)
Gets or sets the color interpolation mode. Specifies the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
public final String getSpreadMethod()
Gets or sets the spread method. Describes how the brush should fill the content area outside of the primary, initial gradient area. Valid values are Pad, Reflect and Repeat.
public final void setSpreadMethod(String value)
Gets or sets the spread method. Describes how the brush should fill the content area outside of the primary, initial gradient area. Valid values are Pad, Reflect and Repeat.
public final String getMappingMode()
Gets or sets the mapping mode. Specifies that center, x radius, and y radius are defined in the effective coordinate space (includes the Transform attribute of the brush).
public final void setMappingMode(String value)
Gets or sets the mapping mode. Specifies that center, x radius, and y radius are defined in the effective coordinate space (includes the Transform attribute of the brush).
public final String getTransform()
Gets or sets the transform. Describes 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 ellipse defined by the center, gradient origin, x radius, and y radius values is transformed using the local effective render transform.
public final void setTransform(String value)
Gets or sets the transform. Describes 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 ellipse defined by the center, gradient origin, x radius, and y radius values is transformed using the local effective render transform.
public final String getCenter()
Gets or sets the center. Specifies the center point of the radial gradient(that is, the center of the ellipse). The radial gradient brush interpolates the colors from the gradient origin to the circumference of the ellipse. The circumference is determined by the center and the radii.
public final void setCenter(String value)
Gets or sets the center. Specifies the center point of the radial gradient(that is, the center of the ellipse). The radial gradient brush interpolates the colors from the gradient origin to the circumference of the ellipse. The circumference is determined by the center and the radii.
public final String getGradientOrigin()
Gets or sets the gradient origin. Specifies the origin point of the radial gradient.
public final void setGradientOrigin(String value)
Gets or sets the gradient origin. Specifies the origin point of the radial gradient.
public final double getRadiusX()
Gets or sets the radius x. Specifies the radius in the x dimension of the ellipse which defines the radial gradient.
public final void setRadiusX(double value)
Gets or sets the radius x. Specifies the radius in the x dimension of the ellipse which defines the radial gradient.
public final double getRadiusY()
Gets or sets the radius y. Specifies the radius in the y dimension of the ellipse which defines the radial gradient.
public final void setRadiusY(double value)
Gets or sets the radius y. Specifies the radius in the y dimension of the ellipse which defines the radial gradient.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.