Skip to main content

Blend

Namespace: System.Drawing.Drawing2D

Assembly: System.Drawing.Managed (4.0.0.0)

Defines a blend pattern for a LinearGradientBrush object. This class cannot be inherited.

public class Blend

Constructors

Instance member Blend()

Initializes a new instance of the Blend class.

Instance member Blend(count)

Initializes a new instance of the Blend class with the specified number of factors and positions.

NameTypeDescription
countInt32The number of elements in the Factors and Positions arrays.

Properties

Instance member Factors

Single[]: Gets or sets an array of blend factors for the gradient.

Instance member Positions

Single[]: Gets or sets an array of blend positions for the gradient.