Class ColorGradientStop
A color with a position, usually contained in a Artemis.Core.ColorGradientStop.ColorGradient
Inheritance
ColorGradientStop
Assembly: Artemis.Core.dll
Syntax
public class ColorGradientStop : CorePropertyChanged
Constructors
ColorGradientStop(SKColor, float)
Declaration
public ColorGradientStop(SKColor color, float position)
Parameters
Properties
Color
Gets or sets the color of the stop
Declaration
public SKColor Color { get; set; }
Property Value
Position
Gets or sets the position of the stop
Declaration
public float Position { get; set; }
Property Value
Methods
Equals(ColorGradientStop)
Declaration
protected bool Equals(ColorGradientStop other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Interpolate(ColorGradientStop, float)
Interpolates a color gradient stop between the this stop and the provided targetValue
.
Declaration
public void Interpolate(ColorGradientStop targetValue, float progress)
Parameters