PeachDrawing.Text

PeachDrawing.Text.Outlines

ColorStop Struct

One colour of a gradient.

public readonly record struct ColorStop : System.IEquatable<PeachDrawing.Text.Outlines.ColorStop>

Implements System.IEquatable<ColorStop>

Constructors  
ColorStop(double, int, double) One colour of a gradient.
Properties  
Alpha The opacity, from 0 to 1, to apply on top of the palette entry’s own alpha.
Offset Where along the gradient the colour is, from 0 at its start to 1 at its end.
PaletteIndex The colour’s entry in the palette, or 0xFFFF for the colour the text is drawn in.