Blend

System.Drawing.Drawing2D.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

Blend()

Initializes a new instance of the Blend class.

Blend(count)

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

Name
Type
Description

count

The number of elements in the Factors and Positions arrays.

Properties

Factors

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

Positions

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

Last updated

Was this helpful?