Defines arrays of elements and positions used for interpolating GradientElement blending in a multicolor gradient.
| C# | Visual Basic | Visual Basic Usage |
public class ColorBlend : ChartingStateManagedCollection<GradientElement>, ICloneable
Public Class ColorBlend _ Inherits ChartingStateManagedCollection(Of GradientElement) _ Implements ICloneable
Dim instance As ColorBlend
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ColorBlend()()()() |
Create new instance of ColorBlend class.
| |
| ColorBlend(array<Color>[]()[][]) |
Create new instance of ColorBlend class.
| |
| ColorBlend(array<Color>[]()[][], Object) |
Create new instance of ColorBlend class.
| |
| ColorBlend(array<Color>[]()[][], array<Single>[]()[][], Object) |
Create new instance of ColorBlend class.
| |
| ColorBlend(array<Color>[]()[][], array<Single>[]()[][]) |
Create new instance of ColorBlend class.
| |
| ColorBlend(Object) |
Create new instance of ColorBlend class.
| |
| Add(T) |
Adds new item in collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| AddRange(ColorBlend) |
Adds a range of elements to the collection.
| |
| AddRange(array<T>[]()[][]) |
Adds items range in collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Clear()()()() |
Clears collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Clone()()()() |
Clone this object.
| |
| Contains(T) |
Checks does collection contain the given item
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| CopyTo(array<T>[]()[][], Int32) |
Copies the entire System.Collections.Generic.List<T> to a compatible one-dimensional
array, starting at the specified index of the target array.
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Count |
Gets items count in collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Equals(Object) |
Comparing two objects.
(Overrides Object.Equals(Object).) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetBrush(RectangleF, Single) |
Returns gradient brush
| |
| GetColor(Single) |
Gets color at specified position.
| |
| GetColors()()()() |
Gets ColorBlend's colors.
| |
| GetEnumerator()()()() |
Returns an enumerator that iterates through the System.Collections.Generic.List>T<.
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| GetHashCode()()()() | (Overrides Object.GetHashCode()()()().) | |
| GetPositions()()()() |
Gets ColorBlend's positions.
| |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(T) |
Item index in collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Insert(Int32, T) |
Inserts item at the given index
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| IsReadOnly |
Gets true if collection is read-only
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Item[([( Int32])]) |
Gets the collection item at given index
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| List |
Items list
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| LoadFrom(ColorBlend) |
Load pairs colors\positions from specified object.
| |
| LoadViewState(Object) |
Loads collection from view state
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnClear()()()() |
Before collection clearing event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| OnClearComplete()()()() |
Collection after clean event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| OnInsert(Int32, Object) |
Item before insert event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| OnInsertComplete(Int32, Object) |
Item after insert event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| OnRemove(Int32, Object) |
Item before remove event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| OnRemoveComplete(Int32, Object) |
Item after remove event
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| Remove(T) |
Removes item from collection
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| RemoveAt(Int32) |
Removes item from collection at given index
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| SaveViewState()()()() |
Saves collection to a view state
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| SetItemDirty(T) |
Marks collection item dirty
(Inherited from ChartingStateManagedCollection<(Of <(<'T>)>)>.) | |
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Inherited from JsonExtensionsWeb.) | |
| ToString()()()() | (Inherited from Object.) |
| Object | ||
| ChartingStateManagedCollection<(Of <(<'GradientElement>)>)> | ||
| ColorBlend | ||