Method | Description | |
---|---|---|
Angle ( int gradientAngle ) : |
Sets the angle of the gradient.
|
|
Colors ( string color1, string color2 ) : |
Sets the colors of the gradient. can be a named color, or a hex color. Accepts 6 and 8-digit hex values (last two digits of 8-digit hex values are for transparency).
|
|
Dimensions ( int width, int height ) : |
Sets the dimensions of the gradient PNG.
|
|
GradientExpression ( |
public Angle ( int gradientAngle ) : |
||
gradientAngle | int | The gradient angle in degrees. |
return |
public Colors ( string color1, string color2 ) : |
||
color1 | string | The first color in the gradient. |
color2 | string | The second color in the gradient. |
return |
public Dimensions ( int width, int height ) : |
||
width | int | The desired width in pixels. |
height | int | The desired height in pixels. |
return |
public GradientExpression ( |
||
builder | ||
return | System |