Fill
概要
Fill は Aspose.Cells の Rust 用 FOSS における構造体です。継承元: Debug、Clone、PartialEq、その他3つ。
1つまたは複数のセルに適用できる、可変のセルスタイルファサードを表します。
この構造体は Rust プログラムにおける Fill オブジェクト用の 9 つのメソッドを宣言します。利用可能なメソッドは clear_background_color、clear_foreground_color、get_background_color、get_foreground_color、get_pattern、new、set_background_color、set_foreground_color、set_pattern です。Aspose.Cells の Rust 用 FOSS パッケージをインストールすると、公開メンバーはすべての Rust アプリケーションからアクセス可能になります。フィールド: background_color、foreground_color、pattern。
フィールド
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
pattern | FillPattern | 読み取り/書き込み | パターンを取得します。 |
foreground_color | Option<String> | 読み取り/書き込み | 前景色を取得します。 |
background_color | Option<String> | 読み取り/書き込み | 背景色を取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
new() → Self | 新しいインスタンスを初期化します。 |
get_pattern() → FillPattern | 塗りつぶしパターンを取得します。 |
set_pattern(value: FillPattern) | 塗りつぶしパターンを設定します。 |
get_foreground_color() → Option<&str> | 塗りつぶしの前景色を取得します。 |
set_foreground_color(value: impl Into<String>) | 塗りつぶしの前景色を設定します。 |
clear_foreground_color() | 前景色をクリアします。 |
get_background_color() → Option<&str> | 塗りつぶしの背景色を取得します。 |
set_background_color(value: impl Into<String>) | 塗りつぶしの背景色を設定します。 |
clear_background_color() | 背景色をクリアします。 |