Class RadialGradientBrush

RadialGradientBrush class

The radial gradient brush.

public class RadialGradientBrush

Constructors

NameDescription
RadialGradientBrush()Initializes a new instance of the RadialGradientBrush class.

Properties

NameDescription
Center { get; set; }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.
ColorInterpolationMode { get; set; }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.
GradientOrigin { get; set; }Gets or sets the gradient origin. Specifies the origin point of the radial gradient.
MappingMode { get; set; }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).
Opacity { get; set; }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.
RadialGradientBrushGradientStops { get; set; }Gets or sets the radial gradient brush gradient stops. Holds a sequence of GradientStop elements.
RadialGradientBrushTransform { get; set; }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.
RadiusX { get; set; }Gets or sets the radius x. Specifies the radius in the x dimension of the ellipse which defines the radial gradient.
RadiusY { get; set; }Gets or sets the radius y. Specifies the radius in the y dimension of the ellipse which defines the radial gradient.
SpreadMethod { get; set; }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.
Transform { get; set; }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.

See Also