PeachDrawing.Core
PeachDrawing.Core
ConicGradientBrush Class
A gradient that varies with angle around Center. Conic gradients have no
repeating form in this codebase today (CSS repeating-conic-gradient() is not yet
supported - see the accepted-gaps notes), so there is no GradientSpread here.
public sealed class ConicGradientBrush : PeachDrawing.Core.Brush
Inheritance System.Object → Brush → ConicGradientBrush
| Constructors | |
|---|---|
| ConicGradientBrush(PaintPoint, double, IReadOnlyList<GradientStop>, IReadOnlyList<double>) | A gradient that varies with angle around Center. Conic gradients have no repeating form in this codebase today (CSS repeating-conic-gradient() is not yet supported - see the accepted-gaps notes), so there is no GradientSpread here. |
| Properties | |
|---|---|
| AnglesRadians | Each stop’s angle, in radians clockwise from the gradient’s own starting angle. |
| Center | The point the gradient sweeps around. |
| OuterRadius | The radius of the circle the gradient is painted over. |
| Stops | The gradient’s colour stops, matched positionally with AnglesRadians. |