PeachDrawing.Text

PeachDrawing.Text.Outlines.ColorStop

ColorStop(double, int, double) Constructor

One colour of a gradient.

public ColorStop(double Offset, int PaletteIndex, double Alpha);

Parameters

Offset System.Double

Where along the gradient the colour is, from 0 at its start to 1 at its end.

PaletteIndex System.Int32

The colour’s entry in the palette, or 0xFFFF for the colour the text is drawn in.

Alpha System.Double

The opacity, from 0 to 1, to apply on top of the palette entry’s own alpha.