Fill
סקירה כללית
Fill הוא מבנה ב-Aspose.Cells FOSS עבור Rust. יורש מ: Debug, Clone, PartialEq, ועוד 3 נוספים.
מייצג חזית של סגנון תא ברת שינוי שניתן להחיל על תא אחד או יותר.
מבנה זה מצהיר על 9 שיטות עבור עצמים מסוג Fill בתוכניות Rust. השיטות הזמינות כוללות: clear_background_color, clear_foreground_color, get_background_color, get_foreground_color, get_pattern, new, set_background_color, set_foreground_color, set_pattern. חברים ציבוריים נגישים לכל יישום Rust לאחר התקנת החבילה Aspose.Cells FOSS for 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() | מאפסת את צבע הרקע. |