
## TwoColorGradient class

Represents two color gradient.



The TwoColorGradient type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [`__init__(self, color1, color2, gradient_style_type, variant)`](/cells/python-net/aspose.cells/twocolorgradient/__init__/#aspose.pydrawing.color-aspose.pydrawing.color-aspose.cells.drawing.gradientstyletype-int) |  |


### Properties
| Property | Description |
| :- | :- |
| [color1](/cells/python-net/aspose.cells/twocolorgradient/color1) | Gets and sets the first gradient color. |
| [color2](/cells/python-net/aspose.cells/twocolorgradient/color2) | Gets and sets the second gradient color. |
| [gradient_style_type](/cells/python-net/aspose.cells/twocolorgradient/gradient_style_type) | Gets and sets gradient shading style. |
| [variant](/cells/python-net/aspose.cells/twocolorgradient/variant) | Gets and sets the gradient variant. |



### See Also
* module [`aspose.cells`](..)
