Class RadialShading
A radial shading (spec §8.7.4.5.3).
Colors interpolate along a line between two circles.
Inheritance
RadialShading
Assembly: DRIT.Pdf.dll
Syntax
public sealed class RadialShading : Shading, IEquatable<Shading>
Constructors
RadialShading(ColorSpace, ShadingColorStop, ShadingColorStop)
Initializes a radial shading with the specified color stops.
Declaration
public RadialShading(ColorSpace colorSpace, ShadingColorStop start, ShadingColorStop end)
Parameters
Properties
EndCircle
Gets or sets the end circle center (x1, y1) and radius.
Declaration
public (double X, double Y, double Radius) EndCircle { get; set; }
Property Value
StartCircle
Gets or sets the start circle center (x0, y0) and radius.
Declaration
public (double X, double Y, double Radius) StartCircle { get; set; }
Property Value
Methods
Equals(Shading?)
Indicates whether this shading equals another.
Declaration
public override bool Equals(Shading? other)
Parameters
| Type |
Name |
Description |
| Shading |
other |
|
Returns
Overrides
GetHashCode()
Returns a hash code for this shading.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(RadialShading?, RadialShading?)
Declaration
public static bool operator ==(RadialShading? a, RadialShading? b)
Parameters
Returns
operator !=(RadialShading?, RadialShading?)
Declaration
public static bool operator !=(RadialShading? a, RadialShading? b)
Parameters
Returns
Implements