Class PdfRadialShading
Type 3 Radial Shading defined between two circles with centers and radii.
public sealed record PdfRadialShading : PdfShading, IEquatable<PdfShading>, IEquatable<PdfRadialShading>
- Inheritance
-
PdfRadialShading
- Implements
- Inherited Members
Constructors
PdfRadialShading(PdfPoint, double, PdfPoint, double, PdfColor, PdfColor, bool, bool)
Type 3 Radial Shading defined between two circles with centers and radii.
public PdfRadialShading(PdfPoint StartCenter, double StartRadius, PdfPoint EndCenter, double EndRadius, PdfColor StartColor, PdfColor EndColor, bool ExtendStart = true, bool ExtendEnd = true)
Parameters
StartCenterPdfPointStartRadiusdoubleEndCenterPdfPointEndRadiusdoubleStartColorPdfColorEndColorPdfColorExtendStartboolExtendEndbool
Properties
EndCenter
public PdfPoint EndCenter { get; init; }
Property Value
EndColor
public PdfColor EndColor { get; init; }
Property Value
EndRadius
public double EndRadius { get; init; }
Property Value
ExtendEnd
public bool ExtendEnd { get; init; }
Property Value
ExtendStart
public bool ExtendStart { get; init; }
Property Value
IsGeneral
Two arbitrary circles (ISO 32000-2 8.7.4.5.4), not expressible as a focal/centre radial brush: Stops are over the shading parameter t (offset 0 = start circle) and the backend evaluates the largest t per pixel. Backends that cannot must classify the area.
public bool IsGeneral { get; init; }
Property Value
StartCenter
public PdfPoint StartCenter { get; init; }
Property Value
StartColor
public PdfColor StartColor { get; init; }
Property Value
StartRadius
public double StartRadius { get; init; }
Property Value
Stops
Colour stops sampled from the shading function (offset 0..1 from start to end circle).
public IReadOnlyList<PdfGradientStop>? Stops { get; init; }