Method | Description | |
---|---|---|
Clear ( ) : void |
Clears the gradient to transparent black.
|
|
Gradient ( Color color ) : System |
Initializes a new instance of Gradient.
|
|
Gradient ( Color start, Color end ) : System |
Initializes a new instance of Gradient.
|
|
Invert ( ) : void |
Inverts the gradient.
|
|
this ( float position ) : Color |
Gets or sets a gradient step by its position.
|
Method | Description | |
---|---|---|
Gradient ( ) : System |
Initializes a new instance of Gradient.
|
public Gradient ( Color start, Color end ) : System | ||
start | Color | |
end | Color | |
return | System |
public this ( float position ) : Color | ||
position | float | The position of the gradient step. |
return | Color |