PeachDrawing.Core

PeachDrawing.Core.ColorGlyphs

RadialColorGlyphPaint Class

A gradient that radiates from a focal point out to a circle, padded beyond it.

public sealed record RadialColorGlyphPaint : PeachDrawing.Core.ColorGlyphs.ColorGlyphPaint, System.IEquatable<PeachDrawing.Core.ColorGlyphs.RadialColorGlyphPaint>

Inheritance System.Object → ColorGlyphPaint → RadialColorGlyphPaint

Implements System.IEquatable<RadialColorGlyphPaint>

Constructors  
RadialColorGlyphPaint(PaintPoint, PaintPoint, double, IReadOnlyList<PaintColor>, IReadOnlyList<double>) A gradient that radiates from a focal point out to a circle, padded beyond it.
Properties  
Center the center of the outer circle, in target space
Colors the stop colors, in ascending Positions order
Focal the point where the first stop is reached, in target space
FocalRadius The radius of the circle around Focal that the first stop fills, in target units (0 is a point). With a nonzero value the gradient is the two-circle gradient from that circle to the outer one.
Positions each stop’s position, 0 at Focal and 1 on the circle
Radius the outer circle’s radius, in target units