Table of Contents

Constructor GradientStop

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

GradientStop(int, ColorRgb, int)

Initializes a gradient stop.

public GradientStop(int position, ColorRgb color, int alpha)

Parameters

position int

Position along the sweep in thousandths of a percent (0..100000).

color ColorRgb

The stop color.

alpha int

Stop opacity in thousandths of a percent (0..100000).