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
TileMode
The gradient's tile mode.
public TileMode TileMode { get; set; }
Property Value
Transform
The gradient's transformation matrix.
public Matrix3x2 Transform { get; set; }
Property Value
Methods
ColorsToStops(Color[])
Converts an array of colors to an array of equidistant stops.
public static GradientStop[] ColorsToStops(Color[] colors)
Parameters
colors
Color[]