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.
- C#
- VB.NET
public class Blend
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 | Int32 | 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.