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

NameTypeAccessDescription
patternFillPatternRead/WriteGets the pattern.
foreground_colorOption<String>Read/WriteGets the foreground color.
background_colorOption<String>Read/WriteGets the background color.

Methods

SignatureDescription
new()SelfInitializes a new instance.
get_pattern()FillPatternGets 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.

See Also