Class Blend
Stores the blend definition for gradient brushes including position and factor arrays.
Inherited Members
Namespace: DRIT.Drawing.Drawing2D
Assembly: DRIT.Drawing.dll
Syntax
public sealed class Blend
Constructors
Blend()
Initializes a new Blend with empty factor and position arrays.
Declaration
public Blend()
Blend(int)
Initializes a new Blend with the specified number of elements.
Declaration
public Blend(int count)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | The number of blend positions and factors. |
Properties
Factors
Gets or sets the array of blend factors.
Declaration
public float[] Factors { get; set; }
Property Value
| Type | Description |
|---|---|
| float[] |
Positions
Gets or sets the array of blend positions.
Declaration
public float[] Positions { get; set; }
Property Value
| Type | Description |
|---|---|
| float[] |