Interface IGradient
Represents a basic gradient.
Inherited Members
Namespace: RGB.NET.Presets.Textures.Gradients
Assembly: RGB.NET.Presets.dll
Syntax
public interface IGradient : IDecoratable<IGradientDecorator>, IDecoratable, INotifyPropertyChanged
Methods
| Edit this page View SourceGetColor(float)
Declaration
Color GetColor(float offset)
Parameters
| Type | Name | Description |
|---|---|---|
| float | offset | The percentage offset to take the Color from. |
Returns
| Type | Description |
|---|---|
| Color | The Color at the specific offset. |
Move(float)
Moves the IGradient by the provided offset.
Declaration
void Move(float offset)
Parameters
| Type | Name | Description |
|---|---|---|
| float | offset | The offset the IGradient should be moved. |
Events
| Edit this page View SourceGradientChanged
Occurs if the IGradient is changed.
Declaration
event EventHandler GradientChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |