Fill
Overview
Fill is a struct in Aspose.Cells FOSS for Rust.
Inherits from: Debug, Clone, PartialEq, and 3 more.
Represents a mutable cell style facade that can be applied to one or more cells.
This struct provides 9 methods for working with Fill objects in Rust programs.
Available methods include: clear_background_color, clear_foreground_color, get_background_color, get_foreground_color, get_pattern, new, set_background_color, set_foreground_color, set_pattern.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Fields: background_color, foreground_color, pattern.
Fields
| Name | Type | Access | Description |
|---|---|---|---|
pattern | FillPattern | Read/Write | Gets the pattern. |
foreground_color | Option<String> | Read/Write | Gets the foreground color. |
background_color | Option<String> | Read/Write | Gets the background color. |
Methods
| Signature | Description |
|---|---|
new() → Self | Initializes a new instance. |
get_pattern() → FillPattern | Gets the fill pattern. |
set_pattern(value: FillPattern) | Sets the fill pattern. |
get_foreground_color() → Option<&str> | Gets the fill foreground color. |
set_foreground_color(value: impl Into<String>) | Sets the fill foreground color. |
clear_foreground_color() | Clears foreground color. |
get_background_color() → Option<&str> | Gets the fill background color. |
set_background_color(value: impl Into<String>) | Sets the fill background color. |
clear_background_color() | Clears background color. |