Class RadialGradient
Represents a radial gradient that transitions colors in a circular pattern between two concentric circles with specified radii.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class RadialGradient : Gradient, IEquatable<ColorBase>, IInstanceIdOwner, IRadialGradient, IGradient, IPatternColor
Constructors
RadialGradient(Point, Point, Double, Double)
Initializes a new instance of the RadialGradient class with the specified points and radii.
Declaration
public RadialGradient(Point startPoint, Point endPoint, double startRadius, double endRadius)
Parameters
System.Windows.Point
startPoint
The start point. |
System.Windows.Point
endPoint
The end point. |
System.Double
startRadius
The start radius. |
System.Double
endRadius
The end radius. |
Properties
EndRadius
Gets or sets the radius of the ending circle where the radial gradient ends.
Declaration
public double EndRadius { get; set; }
Property Value
System.Double
The radius value in user units for the outer circle of the gradient. |
StartRadius
Gets or sets the radius of the starting circle where the radial gradient begins.
Declaration
public double StartRadius { get; set; }
Property Value
System.Double
The radius value in user units for the inner circle of the gradient. |
Methods
Equals(ColorBase)
Equals the specified other.
Declaration
public override bool Equals(ColorBase other)
Parameters
ColorBase
other
The other. |
Returns
System.Boolean
True if the specified radial gradient is equal to the current radial gradient; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |