Method | Description | |
---|---|---|
GetColor ( float offset ) : |
Gets the color of the gradient on the specified offset.
|
Method | Description | |
---|---|---|
AbstractGradient ( ) : System.Collections.Generic |
Initializes a new instance of the AbstractGradient class.
|
|
ClipOffset ( float offset ) : float |
Clips the offset and ensures, that it is inside the bounds of the stop list.
|
protected AbstractGradient ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
protected ClipOffset ( float offset ) : float | ||
offset | float | |
return | float |
public abstract GetColor ( float offset ) : |
||
offset | float | The percentage offset to take the color from. |
return |