Class PdfAxialShading
Type 2 Axial (Linear) Shading defined along an axis between two points.
public sealed record PdfAxialShading : PdfShading, IEquatable<PdfShading>, IEquatable<PdfAxialShading>
- Inheritance
-
PdfAxialShading
- Implements
- Inherited Members
Constructors
PdfAxialShading(PdfPoint, PdfPoint, PdfColor, PdfColor, bool, bool)
Type 2 Axial (Linear) Shading defined along an axis between two points.
public PdfAxialShading(PdfPoint StartPoint, PdfPoint EndPoint, PdfColor StartColor, PdfColor EndColor, bool ExtendStart = true, bool ExtendEnd = true)
Parameters
StartPointPdfPointEndPointPdfPointStartColorPdfColorEndColorPdfColorExtendStartboolExtendEndbool
Properties
EndColor
public PdfColor EndColor { get; init; }
Property Value
EndPoint
public PdfPoint EndPoint { get; init; }
Property Value
ExtendEnd
public bool ExtendEnd { get; init; }
Property Value
ExtendStart
public bool ExtendStart { get; init; }
Property Value
StartColor
public PdfColor StartColor { get; init; }
Property Value
StartPoint
public PdfPoint StartPoint { get; init; }
Property Value
Stops
Colour stops sampled from the shading function (offset 0..1 along the axis).
public IReadOnlyList<PdfGradientStop>? Stops { get; init; }