Fill
Overview
Fill is a class in Aspose.Cells FOSS for Python.
Represents fill settings for a cell or range of cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pattern_type | `` | Read | Gets or sets the type of pattern used for the fill |
foreground_color | `` | Read | Gets or sets the foreground color of the fill pattern |
background_color | `` | Read | Gets or sets the background color of the fill pattern |
Methods
| Signature | Description |
|---|---|
__init__(pattern_type, foreground_color, background_color) | Initializes a new instance of Fill class. |
set_solid_fill(color) | Sets a solid fill pattern with specified color. |
set_gradient_fill(start_color, end_color) | Sets a gradient fill pattern (currently simplified as solid fill). |
set_pattern_fill(pattern_type, fg_color, bg_color) | Sets a pattern fill with specified pattern type and colors. |
set_no_fill() | Sets no fill (transparent background). |