• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ColorBlend

Stores color and position information for gradient interpolation.

Inheritance
object
ColorBlend
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Drawing2D
Assembly: DRIT.Drawing.dll
Syntax
public sealed class ColorBlend

Constructors

ColorBlend()

Initializes a new ColorBlend with empty color and position arrays.

Declaration
public ColorBlend()

ColorBlend(int)

Initializes a new ColorBlend with the specified number of colors.

Declaration
public ColorBlend(int count)
Parameters
Type Name Description
int count

The number of colors and positions.

Properties

Colors

Gets or sets the array of colors for gradient interpolation.

Declaration
public Color[] Colors { get; set; }
Property Value
Type Description
Color[]

Positions

Gets or sets the array of positions corresponding to each color.

Declaration
public float[] Positions { get; set; }
Property Value
Type Description
float[]
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX