Table of Contents

Class Gradient

Namespace
SimulationFramework.Drawing
Assembly
SimulationFramework.dll

Represents a gradient.

public abstract class Gradient
Inheritance
Gradient
Derived
Inherited Members

Properties

Stops

The gradient's stops.

public GradientStop[] Stops { get; set; }

Property Value

GradientStop[]

TileMode

The gradient's tile mode.

public TileMode TileMode { get; set; }

Property Value

TileMode

Transform

The gradient's transformation matrix.

public Matrix3x2 Transform { get; set; }

Property Value

Matrix3x2

Methods

ColorsToStops(Color[])

Converts an array of colors to an array of equidistant stops.

public static GradientStop[] ColorsToStops(Color[] colors)

Parameters

colors Color[]

Returns

GradientStop[]